You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- #!/bin/zsh
- #
- SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
-
- if [[ (-e ~/bin) ]]; then
- echo "A ssh configuration already exists (~/bin)"
- echo "Remove this configuration and start the script again"
- else
- echo "Creating link"
- ln -vs $SCRIPTPATH/bin ~/bin
- fi
|