fish: add fish_trace function

This commit is contained in:
Charles Gould 2020-03-21 21:25:47 -05:00
parent 943d648173
commit bbb054318b

View File

@ -0,0 +1,9 @@
function fish_trace --description 'Toggle fish function tracing'
if not set --query fish_trace
echo 'Enabling fish function tracing...'
set --global fish_trace 1
else
echo 'Disabling fish function tracing...'
set --erase fish_trace
end
end