mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 06:18:56 +08:00

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
|