mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
abbr: Print optional set-cursor arg correctly
Allows the output to round-trip. Fixes #11141
This commit is contained in:
@@ -204,3 +204,7 @@ abbr --add regex_name --regex '(*UTF).*' bar
|
||||
# CHECKERR: abbr: Regular expression compile error: using UTF is disabled by the application
|
||||
# CHECKERR: abbr: (*UTF).*
|
||||
# CHECKERR: abbr: ^
|
||||
|
||||
abbr --add foo --set-cursor 'foo % bar'
|
||||
abbr | grep foo
|
||||
# CHECK: abbr -a --set-cursor='%' -- foo 'foo % bar'
|
||||
|
||||
Reference in New Issue
Block a user