mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
Don't call the type function when defining the _ function, as this will cause a recursive dependency
darcs-hash:20060317132356-ac50b-4b3b0b6ec3f2e82649c74cc358f1505bf202bbd4.gz
This commit is contained in:
parent
580ec26885
commit
94b7c8d5e6
|
@ -3,7 +3,8 @@
|
|||
# Alias for gettext (or a fallback if gettext isn't installed)
|
||||
#
|
||||
|
||||
if type -f gettext >/dev/null
|
||||
set -l path (which $i ^/dev/null)
|
||||
if test -x (echo $path)
|
||||
function _ -d "Alias for the gettext command"
|
||||
gettext fish $argv
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user