mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 14:51:12 -03:00
status returns the function name when called with -u parameter
Fixes #1743
This commit is contained in:
committed by
Kurtis Rader
parent
2565c5c15b
commit
980af4aa5b
@@ -39,3 +39,13 @@ status --job-control=1none
|
||||
|
||||
# Now set it to a valid mode.
|
||||
status job-control none
|
||||
|
||||
# Check status -u outside functions
|
||||
status current-function
|
||||
|
||||
function test_function
|
||||
status current-function
|
||||
end
|
||||
|
||||
test_function
|
||||
eval test_function
|
||||
Reference in New Issue
Block a user