aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-02 15:22:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-02 15:22:52 +1300
commitecf947ada045e6538186c6f829466012e0e7c885 (patch)
treee75adf417d65968b227c73330f20fe975c0ff258 /sh
parentWork around newline-stripping in param expansion (diff)
downloaddotfiles-ecf947ada045e6538186c6f829466012e0e7c885.tar.gz
dotfiles-ecf947ada045e6538186c6f829466012e0e7c885.zip
Remove an unnecessary trailing slash from ad()
Diffstat (limited to 'sh')
-rw-r--r--sh/shrc.d/ad.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/ad.sh b/sh/shrc.d/ad.sh
index 4916b0e6..55866683 100644
--- a/sh/shrc.d/ad.sh
+++ b/sh/shrc.d/ad.sh
@@ -15,7 +15,7 @@ ad() {
req=${1%/}/
case $req in
(/*) ;;
- (*) req=${PWD%/}/${req#/}/ ;;
+ (*) req=${PWD%/}/${req#/} ;;
esac
# Start building the target directory; go through the request piece by