aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-14 22:42:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-14 22:42:46 +1200
commitc8a13adcf8322c810df4089f3c7a8371fae27de5 (patch)
tree8ddf9a1e504b6194e51acaef9fbba1854782b756
parentgit push.default from "matching" to "current" (diff)
downloaddotfiles-c8a13adcf8322c810df4089f3c7a8371fae27de5.tar.gz
dotfiles-c8a13adcf8322c810df4089f3c7a8371fae27de5.zip
Put sed script onto one line
-rwxr-xr-xbin/dmp5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/dmp b/bin/dmp
index 9ef58f67..979a3b50 100755
--- a/bin/dmp
+++ b/bin/dmp
@@ -13,10 +13,7 @@ pw=$(
# Sort them
sort |
# Strip the leading directory and the trailing .gpg
- sed '
-s_^\./__
-s_\.gpg$__
- ' |
+ sed 's_^\./__;s_\.gpg$__' |
# Use dmenu(1) to prompt the user to select one
dmenu
) || exit