aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-02 00:38:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-02 00:38:24 +1200
commite61a5ca37af8918840a99c53d40d2b70e2836c18 (patch)
treebc27a9d25a2016fad9f7a14e991d0e98fca437bb /bin
parentExit from gscr(1) subshell, not continue (diff)
downloaddotfiles-e61a5ca37af8918840a99c53d40d2b70e2836c18.tar.gz
dotfiles-e61a5ca37af8918840a99c53d40d2b70e2836c18.zip
Inline two lines in jfcd(1)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jfcd3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/jfcd b/bin/jfcd
index 3bc77af1..63fd185c 100755
--- a/bin/jfcd
+++ b/bin/jfcd
@@ -19,8 +19,7 @@ inw() {
}
# Drectory to check is first and only argument; move into it
-dir=${1:?}
-cd -- "$dir" || exit
+cd -- "${1:?}" || exit
# Run a while loop over inotifywait(1) calls, running jfc(1) on the working
# directory