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:
David Adam 2018-09-20 22:52:28 +08:00
parent deb6d477d4
commit f823611c2e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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