/usr/share/fish/functions/_.fish is in fish-common 2.2.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #
# 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
|