mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 05:03:46 +08:00
Move abbr_old to __fish_abbr_old
This is an internal function that should not be used except by the migration process.
This commit is contained in:
parent
deb6d477d4
commit
f823611c2e
|
@ -1,4 +1,4 @@
|
||||||
function abbr_old --description "Manage abbreviations using old fish 2.x scheme."
|
function __fish_abbr_old --description "Manage abbreviations using old fish 2.x scheme."
|
||||||
# parse arguments
|
# parse arguments
|
||||||
set -l mode
|
set -l mode
|
||||||
set -l mode_flag # the flag that was specified, for better errors
|
set -l mode_flag # the flag that was specified, for better errors
|
|
@ -8,7 +8,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||||
# Perform transitions relevant to going from fish 2.x to 3.x.
|
# Perform transitions relevant to going from fish 2.x to 3.x.
|
||||||
|
|
||||||
# Migrate old universal abbreviations to the new scheme.
|
# Migrate old universal abbreviations to the new scheme.
|
||||||
abbr_old | source
|
__fish_abbr_old | source
|
||||||
|
|
||||||
set -U __fish_init_3_x
|
set -U __fish_init_3_x
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user