mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Add better test for whether the gettext command should be used
darcs-hash:20060124180850-ac50b-63529a14009c08f8985254565426b996bb16ef92.gz
This commit is contained in:
parent
e0d6b5c438
commit
f2c4becde7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user