Actually commit the no-scope-shadowing to . function

This commit is contained in:
ridiculousfish 2013-08-17 17:04:16 -07:00
parent 77b13d02f0
commit 88efc73797

View file

@ -110,7 +110,7 @@ function __fish_on_interactive --on-event fish_prompt
end
# "." command for compatibility with old fish versions.
function . --description 'Evaluate contents of file (deprecated, see "source")'
function . --description 'Evaluate contents of file (deprecated, see "source")' --no-scope-shadowing
if begin
test (count $argv) -eq 0
# Uses tty directly, as isatty depends on "."