diff options
Diffstat (limited to 'init/fish.in')
-rw-r--r-- | init/fish.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/init/fish.in b/init/fish.in index 0b2302ea..389b70dc 100644 --- a/init/fish.in +++ b/init/fish.in @@ -32,10 +32,9 @@ for i in $path_list end - - # -# Set some value for LANG if nothing was set before +# Set some value for LANG if nothing was set before, and this is a +# login shell. Also check for i18n information in /etc/sysconfig/i18n # if status --is-login @@ -72,6 +71,12 @@ for i in DISPLAY end end +# +# Alias for gettext (or a fallback if gettext isn't installed) This +# needs to be defined here and not in fish_function.fish, since it is +# used by other init files. +# + if which gettext >/dev/null ^/dev/null function _ -d "Alias for the gettext command" gettext fish $argv |