From 9f2d591be17c9de205e73962d420e424183cb5ad Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Mon, 12 Jun 2017 10:55:05 +0200 Subject: Fix pbv to use correct name --- conf.d/99-pastebin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } -- cgit v1.2.3