fish-shell/share/functions/_.fish
2006-03-14 10:21:27 +10:00

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