aboutsummaryrefslogtreecommitdiffhomepage
path: root/init/fish.in
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-22 07:12:39 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-22 07:12:39 +1000
commit74fb5bd5e59dc650819fff525995e00fc97c7858 (patch)
tree6c55af0fb792d5759572fecdfa5a24969bd36033 /init/fish.in
parentf2d6ae32206e75850164b512b862ee61ec0ea1cb (diff)
Minor tweaks of init files
darcs-hash:20060121211239-ac50b-02fc95b123698b972063c2cd1cd8e85d548e1f8b.gz
Diffstat (limited to 'init/fish.in')
-rw-r--r--init/fish.in11
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