blob: 8983d66e611796f6a9b160a546d56212aaf083d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#
# Alias for gettext (or a fallback if gettext isn't installed)
#
set -l path (which $i ^/dev/null)
if test -x (echo $path)
function _ --description "Alias for the gettext command"
gettext fish $argv
end
else
function _ --description "Alias for the gettext command"
printf "%s" $argv
end
end
|