summaryrefslogtreecommitdiff
path: root/conf.d/99-pastebin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/99-pastebin.zsh')
-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"
}