mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue