diff options
author | Till Höppner | 2017-06-12 10:55:05 +0200 |
---|---|---|
committer | Till Höppner | 2017-06-12 10:55:05 +0200 |
commit | 9f2d591be17c9de205e73962d420e424183cb5ad (patch) | |
tree | fb8a79dab756a6ef7b416eba0fdf707ed4259d3c /conf.d | |
parent | 648b7c08d525b35d9d620a1291248e6f0bae9f15 (diff) | |
download | zsh-9f2d591be17c9de205e73962d420e424183cb5ad.tar.gz zsh-9f2d591be17c9de205e73962d420e424183cb5ad.tar.xz zsh-9f2d591be17c9de205e73962d420e424183cb5ad.zip |
Fix pbv to use correct name
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/99-pastebin.zsh | 2 |
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" } |