diff --git a/pash b/pash index aa01f7a..61ff9c9 100755 --- a/pash +++ b/pash @@ -60,12 +60,10 @@ pw_show() { } pw_copy() { - pass=$(pw_show "$1") - # Disable warning against words-splitting as it is safe # and intentional (globbing is disabled). # shellcheck disable=2086 - printf %s "$pass" | ${PASH_CLIP:-xclip -selection clipboard} + pw_show "$1" | ${PASH_CLIP:-xclip -selection clipboard} } pw_list() {