mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-12 07:57:22 +00:00
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:
parent
343c280dbf
commit
b33d3f78b1
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue