based.fish/functions/__based_reset_state.fish
Eduard Tolosa 2afe4b3aba (feat): add BASED_EXCLUDED_PATHS to exclude directories from history
There are cases where you want to exclude some paths from being indexed. E.g: `..`, `/tmp/*`, and others.
2025-07-26 22:23:57 -05:00

8 lines
248 B
Fish

function __based_reset_state
echo "Resetting Based state..."
# Unset all variables related to Based state
set -e BASED_NO_CONFIRMATION
set -e BASED_NO_FUZZY
set -e BASED_EXCLUDED_PATHS
echo "Based state has been reset."
end