From b33d3f78b1d3d1b5f9dbb9fbe9000fd6ab181cbb Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 6 Jan 2006 03:09:15 +1000 Subject: [PATCH] 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 --- init/fish.in | 4 ++++ init/fish_interactive.fish.in | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/init/fish.in b/init/fish.in index efaa8a32f..54eb0b2e1 100644 --- a/init/fish.in +++ b/init/fish.in @@ -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 # diff --git a/init/fish_interactive.fish.in b/init/fish_interactive.fish.in index 42dbc39bf..af066cca2 100644 --- a/init/fish_interactive.fish.in +++ b/init/fish_interactive.fish.in @@ -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 #