Folder to easyly add some customisation to bash
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 200B

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