bash/add

12 lines
200 B
Plaintext
Raw Normal View History

2020-01-26 17:20:02 +01:00
#!/bin/bash
#
if [[ -e $1 ]]; then
target=`basename $1`
if [[ $target == "venv_prompt.sh" ]]; then
target="10_$target"
else
target="50_$target"
fi
cd enabled
ln -s ../$1 $target
fi