diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-01 10:23:34 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-01 10:23:34 +1200 |
commit | 41222848ae5059c06ee0783e7b42680e5c0842d7 (patch) | |
tree | 1c85e921ad4f918ab444072c4f4185e1c04bcc34 /bin | |
parent | Add README.markdown desc of jfcd(1) (diff) | |
download | dotfiles-41222848ae5059c06ee0783e7b42680e5c0842d7.tar.gz dotfiles-41222848ae5059c06ee0783e7b42680e5c0842d7.zip |
Make gscr(1) default to current dir
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gscr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh # Scrub a Git repository -for arg in "${@:?}" ; do +for arg in "${@:-.}" ; do case $arg in *.git) cd -- "$arg" || continue |