mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 04:03:39 +08: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.
11 lines
236 B
Plaintext
11 lines
236 B
Plaintext
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
|