mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
d58b9de63b
darcs-hash:20060314002127-ac50b-6ed726bdcc9e3a7a9608a904c382973799dc73ef.gz
15 lines
254 B
Fish
15 lines
254 B
Fish
|
|
#
|
|
# Alias for gettext (or a fallback if gettext isn't installed)
|
|
#
|
|
|
|
if type -f gettext >/dev/null
|
|
function _ -d "Alias for the gettext command"
|
|
gettext fish $argv
|
|
end
|
|
else
|
|
function _ -d "Alias for the gettext command"
|
|
printf "%s" $argv
|
|
end
|
|
end
|
|
|