diff options
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; |
