alfred-yubico-auth/replace-workflow.sh

9 lines
253 B
Bash
Raw Normal View History

2018-04-12 22:55:55 +00:00
#! /bin/bash
set -e
echo "Warning! This will remove the workflow at the provided path and replace it with a link to this directory"
read -p "Path to workflow to replace: " existing_workflow
rm -fr "$existing_workflow"
ln -s `pwd` "$existing_workflow"