Make delete-or-exit work with multiline commands
darcs-hash:20061206122537-ac50b-80e3b3d6dff886eba162fbb8db5a82ff0f7a107f.gz
This commit is contained in:
parent
d9ec65da4d
commit
77b5532ce9
@ -6,7 +6,8 @@
|
||||
#
|
||||
|
||||
function delete-or-exit
|
||||
if test (commandline)
|
||||
set -l cmd (commandline)
|
||||
if test "$cmd"
|
||||
commandline -f delete-char
|
||||
else
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user