mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-09 06:15:15 +08:00
![Radomír Bosák](/assets/img/avatar_default.png)
The abbr function doesn't have the possiblity to rename abbreviations. You have to delete the old one and create a new one. This commit adds this functionality and uses the syntax: abbr -r OLD_KEY NEW_KEY Fixes #2155.
8 lines
314 B
Plaintext
8 lines
314 B
Plaintext
abbr: no such abbreviation 'NOT_AN_ABBR'
|
|
abbr: abbreviation cannot have spaces in the key
|
|
abbr: no such abbreviation '__abbr6'
|
|
abbr: abbreviation cannot have spaces in the key
|
|
abbr: option requires an argument -- -r
|
|
abbr: Unexpected argument -- __abbr10
|
|
abbr: abbreviation '__abbr12' already exists, cannot rename
|