aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_config_interactive.fish
diff options
context:
space:
mode:
authorGravatar nulltrek <pumabit@gmail.com>2013-09-12 11:02:05 +0200
committerGravatar nulltrek <pumabit@gmail.com>2013-09-12 11:46:31 +0200
commit1b521d0822fb55ad1ec04b16af7ca39e5becc41a (patch)
tree599e65903988d9005a134e1cdc8697c7ec4fe0d1 /share/functions/__fish_config_interactive.fish
parente529f4d75f3a93c1c7497e6a6ac7aa395c75fc45 (diff)
Rename internal functions for consistency.
Diffstat (limited to 'share/functions/__fish_config_interactive.fish')
-rw-r--r--share/functions/__fish_config_interactive.fish12
1 files changed, 6 insertions, 6 deletions
diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish
index 260e3525..d9ee0700 100644
--- a/share/functions/__fish_config_interactive.fish
+++ b/share/functions/__fish_config_interactive.fish
@@ -224,26 +224,26 @@ function __fish_config_interactive -d "Initializations that should be performed
# The first time a command is not found, look for command-not-found
# This is not cheap so we try to avoid doing it during startup
- function fish_command_not_found_setup --on-event fish_command_not_found
+ function __fish_command_not_found_setup --on-event fish_command_not_found
# Remove fish_command_not_found_setup so we only execute this once
- functions --erase fish_command_not_found_setup
+ functions --erase __fish_command_not_found_setup
# First check in /usr/lib, this is where modern Ubuntus place this command
if test -f /usr/lib/command-not-found
- function fish_command_not_found_handler --on-event fish_command_not_found
+ function __fish_command_not_found_handler --on-event fish_command_not_found
/usr/lib/command-not-found -- $argv
end
# Ubuntu Feisty places this command in the regular path instead
else if type -p command-not-found > /dev/null 2> /dev/null
- function fish_command_not_found_handler --on-event fish_command_not_found
+ function __fish_command_not_found_handler --on-event fish_command_not_found
command-not-found -- $argv
end
# Use standard fish command not found handler otherwise
else
- function fish_command_not_found_handler --on-event fish_command_not_found
+ function __fish_command_not_found_handler --on-event fish_command_not_found
echo fish: Unknown command "'$argv'" >&2
end
end
- fish_command_not_found_handler $argv
+ __fish_command_not_found_handler $argv
end
end