diff options
| author | Tslil Clingman <hiato1@gmail.com> | 2015-06-17 21:58:38 +0200 |
|---|---|---|
| committer | Tslil Clingman <hiato1@gmail.com> | 2015-06-17 21:58:38 +0200 |
| commit | eb393abbcd6c3913701fdb8f7919ae663cec1e04 (patch) | |
| tree | a83290faacde61a6575f5644e95749d29a021fa5 /ranpas | |
| parent | 68cc45a8ed9dbdf461b055bffbf06681b50d18bd (diff) | |
Small tweak to UX
Diffstat (limited to 'ranpas')
| -rwxr-xr-x | ranpas | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,8 +15,9 @@ while :; do if [ "$?" = "0" ]; then echo Paste $rnd does not exist. else + clear more /tmp/paste-$rnd - echo -n Save?\ + echo -ne "\n\nSave $rnd?[n] " read r [ "$r" = "y" ] && echo Saving as paste $rnd in $HOME && cp /tmp/paste-$rnd $HOME fi; @@ -24,7 +25,7 @@ while :; do echo Empty paste. fi; rm /tmp/paste-$rnd - echo -n Quit?\ + echo -n Quit?[n]\ read r [ "$r" = "y" ] && exit done; |
