diff options
author | filip <“filip.rabiega@gmail.com”> | 2025-07-10 12:24:33 +0200 |
---|---|---|
committer | filip <“filip.rabiega@gmail.com”> | 2025-07-10 12:24:33 +0200 |
commit | e4ea00cfc9fc7340c62dd920b4754787c4499de6 (patch) | |
tree | 2e4c036888529e99cd67a0ee59d9ac8bb5e09000 /auxless | |
parent | 1feb678fc3d52a7a3c4e31bb153783852fa08a58 (diff) | |
download | chadscripts-e4ea00cfc9fc7340c62dd920b4754787c4499de6.tar.gz chadscripts-e4ea00cfc9fc7340c62dd920b4754787c4499de6.tar.bz2 chadscripts-e4ea00cfc9fc7340c62dd920b4754787c4499de6.zip |
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 |