mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Actually commit the no-scope-shadowing to . function
This commit is contained in:
@@ -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 "."
|
||||||
|
|||||||
Reference in New Issue
Block a user