From f823611c2ebfc575cb3f79820f182e84d67f5406 Mon Sep 17 00:00:00 2001 From: David Adam Date: Thu, 20 Sep 2018 22:52:28 +0800 Subject: [PATCH] Move abbr_old to __fish_abbr_old This is an internal function that should not be used except by the migration process. --- share/functions/{abbr_old.fish => __fish_abbr_old.fish} | 2 +- share/functions/__fish_config_interactive.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename share/functions/{abbr_old.fish => __fish_abbr_old.fish} (98%) diff --git a/share/functions/abbr_old.fish b/share/functions/__fish_abbr_old.fish similarity index 98% rename from share/functions/abbr_old.fish rename to share/functions/__fish_abbr_old.fish index c43f344ea..b9017a7f2 100644 --- a/share/functions/abbr_old.fish +++ b/share/functions/__fish_abbr_old.fish @@ -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 set -l mode set -l mode_flag # the flag that was specified, for better errors diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 1e91f1c9c..ca8923b14 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -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. # Migrate old universal abbreviations to the new scheme. - abbr_old | source + __fish_abbr_old | source set -U __fish_init_3_x end