diff options
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" } |