mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 15:37:24 +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
|