mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
Actually commit the no-scope-shadowing to . function
This commit is contained in:
parent
77b13d02f0
commit
88efc73797
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ function __fish_on_interactive --on-event fish_prompt
|
||||||
end
|
end
|
||||||
|
|
||||||
# "." command for compatibility with old fish versions.
|
# "." 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
|
if begin
|
||||||
test (count $argv) -eq 0
|
test (count $argv) -eq 0
|
||||||
# Uses tty directly, as isatty depends on "."
|
# Uses tty directly, as isatty depends on "."
|
||||||
|
|
Loading…
Reference in a new issue