mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
Put back support for undocumented -I option to commandline
This allows operating on a user-specified commandline instead of the
true contents. This was inadvertently removed in a32248277f.
This commit is contained in:
@@ -36,3 +36,8 @@ sendline("set what (commandline)")
|
||||
expect_prompt()
|
||||
sendline('echo "<$what>"')
|
||||
expect_prompt("<>")
|
||||
|
||||
# Test for undocumented -I flag.
|
||||
# TODO: consider removing.
|
||||
sendline("commandline -I foo")
|
||||
expect_prompt("foo")
|
||||
|
||||
Reference in New Issue
Block a user