aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-01 10:23:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-01 10:23:34 +1200
commit41222848ae5059c06ee0783e7b42680e5c0842d7 (patch)
tree1c85e921ad4f918ab444072c4f4185e1c04bcc34 /bin
parentAdd README.markdown desc of jfcd(1) (diff)
downloaddotfiles-41222848ae5059c06ee0783e7b42680e5c0842d7.tar.gz
dotfiles-41222848ae5059c06ee0783e7b42680e5c0842d7.zip
Make gscr(1) default to current dir
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gscr2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gscr b/bin/gscr
index b96da8d7..0896d64f 100755
--- a/bin/gscr
+++ b/bin/gscr
@@ -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