diff options
| -rwxr-xr-x | angou | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -20,7 +20,7 @@ view() { | |||
| 20 | 20 | ||
| 21 | # copy the first line from view to clipboard | 21 | # copy the first line from view to clipboard |
| 22 | copy() { | 22 | copy() { |
| 23 | view "$1" | "$ANGOU_CLIPBOARD" | 23 | view "$1" | sed 1q | $ANGOU_CLIPBOARD |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | # create new or existing password in ANGOU_DIR | 26 | # create new or existing password in ANGOU_DIR |
