diff options
Diffstat (limited to 'auxless')
-rwxr-xr-x | auxless | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -smod () { - cd $HOME/repos/$1 && vim config.def.h && sudo cp config.def.h config.h && sudo make clean install && cd - -} +[ "$#" -ne 1 ] && { echo "Usage: auxless <suckless-program>" >&2 ; exit 1; } + +cd "$HOME"/repos/"$1" && vim config.def.h && sudo cp config.def.h config.h && sudo make clean install && cd - || exit |