mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-26 09:42:51 +03:00
b8f832c09d
* Add SHLVL item
* Run function in subshell
* Python bug?
* Revert "Python bug?"
This reverts commit 79fbadc29f
.
* Change icon
* Fix macOS test
* Run on Linux only
6 lines
227 B
Fish
6 lines
227 B
Fish
function _tide_item_shlvl
|
|
# Item functions run in a deeper level of shell
|
|
set -l real_shlvl (math $SHLVL - 1)
|
|
test $real_shlvl -gt $tide_shlvl_threshold && _tide_print_item shlvl $tide_shlvl_icon' ' $real_shlvl
|
|
end
|