summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Höppner2017-06-12 10:55:05 +0200
committerTill Höppner2017-06-12 10:55:05 +0200
commit9f2d591be17c9de205e73962d420e424183cb5ad (patch)
treefb8a79dab756a6ef7b416eba0fdf707ed4259d3c
parent648b7c08d525b35d9d620a1291248e6f0bae9f15 (diff)
downloadzsh-9f2d591be17c9de205e73962d420e424183cb5ad.tar.gz
zsh-9f2d591be17c9de205e73962d420e424183cb5ad.tar.xz
zsh-9f2d591be17c9de205e73962d420e424183cb5ad.zip
Fix pbv to use correct name
-rw-r--r--conf.d/99-pastebin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/99-pastebin.zsh b/conf.d/99-pastebin.zsh
index 42a72cd..1e2a91e 100644
--- a/conf.d/99-pastebin.zsh
+++ b/conf.d/99-pastebin.zsh
@@ -102,7 +102,7 @@ function pbv() {
shift
pbexists "~$1" && pbd "~$1"
- local short=$(PB_URL_PATH="/~$1" pbupload "$@")
+ local short=$(PB_URL_PATH="/~$name" pbupload "$@")
local url=$(pbget "$short" "url")
pbclip "pbv" "$url"
}