mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-25 23:21:15 -03:00
Make delete-or-exit work with multiline commands
darcs-hash:20061206122537-ac50b-80e3b3d6dff886eba162fbb8db5a82ff0f7a107f.gz
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user