You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this plugin for quite a while and I like it terribly, especially hit enter to ls. Thx for you work!
However, in my daily usage, I found it not supporting temporarily disable, especially when source and run other rcfile or .sh file containing cd.
e.g. I have a test.sh: fun() { cd ~ } and run source test.sh; ./test.sh it will unexpectly show ls .
I noticed your plugin has the AUTO_LS_CHPWD variant, and it's used just for initial binding to chpwd_function.
if [[ ${AUTO_LS_CHPWD}==true&&${chpwd_functions[(I)auto-ls]}-eq 0 ]];then
chpwd_functions+=(auto-ls)
fi
So I'm just wondering whether you could try to modify the script, and check this variant every time invoked.
The text was updated successfully, but these errors were encountered:
I use this plugin for quite a while and I like it terribly, especially hit
enter
to ls. Thx for you work!However, in my daily usage, I found it not supporting temporarily disable, especially when source and run other rcfile or .sh file containing
cd
.e.g. I have a test.sh:
fun() { cd ~ }
and runsource test.sh; ./test.sh
it will unexpectly show ls .I noticed your plugin has the
AUTO_LS_CHPWD
variant, and it's used just for initial binding tochpwd_function
.So I'm just wondering whether you could try to modify the script, and check this variant every time invoked.
The text was updated successfully, but these errors were encountered: