Folder to easyly add some customisation to bash
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112
  1. #!/bin/bash
  2. #
  3. if [[ -e $1 ]]; then
  4. target=`basename $1`
  5. if [[ $target == "venv_prompt.sh" ]]; then
  6. target="10_$target"
  7. else
  8. target="50_$target"
  9. fi
  10. cd enabled
  11. ln -s ../$1 $target
  12. fi