Move definition of the _ gettext alias out of fish_interactive, since it is needed in non-interactive, and in earlier functions as well

darcs-hash:20060105170915-ac50b-4a31a54f30d8bfcfecdd8fb60b9639087b27925a.gz
This commit is contained in:
axel 2006-01-06 03:09:15 +10:00
parent 343c280dbf
commit b33d3f78b1
2 changed files with 4 additions and 4 deletions

View File

@ -67,6 +67,10 @@ for i in DISPLAY
end
end
function _ -d "Alias for the gettext command"
gettext fish $argv
end
#
# Load additional initialization files
#

View File

@ -6,10 +6,6 @@ if not status --is-interactive
exit
end
function _ -d "Alias for the gettext command"
gettext fish $argv
end
#
# Print a greeting
#