mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
1fbcb1ee9d
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.
10 lines
236 B
Text
10 lines
236 B
Text
abbr __abbr1 'alpha beta gamma'
|
|
abbr __abbr1 'alpha beta gamma'
|
|
abbr __abbr1 'alpha beta gamma'
|
|
abbr __abbr1 delta
|
|
abbr __abbr1 delta
|
|
abbr __abbr1 delta
|
|
abbr '~__abbr2' '$xyz'
|
|
abbr -- --__abbr3 xyz
|
|
abbr __abbr5 omega
|
|
abbr __abbr8 omega
|