mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
revert the --shadow-builtin flag
Implementing the --shadow-builtin flag has proven to be highly controversial. Revert the introduction of that flag to the `function` command. If someone shoots themselves in the foot by redefining a builtin as a function that's their problem and not our responsibility to protect them from doing so. Fixes #3319
This commit is contained in:
@@ -22,4 +22,3 @@ Function name1 found
|
||||
Function name2 found
|
||||
Function name3 found
|
||||
Function name4 found
|
||||
"function pwd --shadow-builtin" worked
|
||||
|
||||
Reference in New Issue
Block a user