Config File Collection
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

add_powerline 354B

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