Config File Collection
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.

add_zshrc 384B

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