mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
94b7c8d5e6
darcs-hash:20060317132356-ac50b-4b3b0b6ec3f2e82649c74cc358f1505bf202bbd4.gz
16 lines
282 B
Fish
16 lines
282 B
Fish
|
|
#
|
|
# Alias for gettext (or a fallback if gettext isn't installed)
|
|
#
|
|
|
|
set -l path (which $i ^/dev/null)
|
|
if test -x (echo $path)
|
|
function _ -d "Alias for the gettext command"
|
|
gettext fish $argv
|
|
end
|
|
else
|
|
function _ -d "Alias for the gettext command"
|
|
printf "%s" $argv
|
|
end
|
|
end
|
|
|