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.
12345678910111213 |
- #!/bin/zsh
- #
- SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
-
- if [[ (-e ~/.zshrc || -e ~/.zshrc.d) ]]; then
- echo "A zsh configuration already exists (~/.zshrc or ~/.zshrc.d)"
- echo "Remove this configuration and start the script again"
- else
- echo "Creating base links"
- ln -vs $SCRIPTPATH/.zshrc ~/.zshrc
- ln -vs $SCRIPTPATH/.zshrc.d ~/.zshrc.d
- fi
|