mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Add better test for whether the gettext command should be used
darcs-hash:20060124180850-ac50b-63529a14009c08f8985254565426b996bb16ef92.gz
This commit is contained in:
@@ -77,7 +77,7 @@ end
|
||||
# used by other init files.
|
||||
#
|
||||
|
||||
if which gettext >/dev/null ^/dev/null
|
||||
if test 1 = "@HAVE_GETTEXT@"; and which gettext >/dev/null ^/dev/null
|
||||
function _ -d "Alias for the gettext command"
|
||||
gettext fish $argv
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user