blob: c5a18089068e83be77a9f954d3c432980c913f2a (
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 gettext ^/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"
echo -n $argv
end
end
|