mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 15:38:41 +08: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
|
@ -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 New Issue
Block a user