mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -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
|
||||
|
||||
# "." 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 "."
|
||||
|
||||
Reference in New Issue
Block a user