mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 20:13:05 +03:00
Run function in subshell
This commit is contained in:
parent
a8a0bf5b32
commit
4f78f0cded
@ -1,11 +1,9 @@
|
||||
# RUN: %fish %s
|
||||
|
||||
function _shlvl
|
||||
_tide_decolor (_tide_item_shlvl)
|
||||
_tide_decolor (fish -c _tide_item_shlvl)
|
||||
end
|
||||
|
||||
set -lx SHLVL 2
|
||||
|
||||
_shlvl # CHECK: ↕️ 2
|
||||
|
||||
set -lx tide_shlvl_threshold 2
|
||||
|
Loading…
Reference in New Issue
Block a user