Compare commits

..

1 Commits

Author SHA1 Message Date
36c4247e60 Add autoenv command to manage autoenv's
usage: autoenv [-h] {init,edit,deinit}

options:
        -h, --help  show this help message and exit

commands:
        init        add .enter and .exit scripts in current directory
        edit        edit .enter and .exit scripts in current directory
        deinit      remove .enter and .exit scripts in current directory

Fixes #9.
2018-04-25 21:43:38 +01:00

View File

@ -42,7 +42,7 @@ commands:
fi fi
# If vim exists, edit enter and exit scripts. # If vim exists, edit enter and exit scripts.
if which vim &> /dev/null; then if which vim &> /dev/null; then
vim -p $PWD/.enter $PWD/.exit vim -p .enter .exit
else else
echo 'vim not found'; return 1 echo 'vim not found'; return 1
fi ;; fi ;;