Closed joj closed 9 years ago
BTW, allowing exclusion of directories may be redundant with this fix. Maybe add a jumpstat -del which simply assigns a negative weight?
@joj yes, you are correct that this has to be manually edited. I'll make sure a command is added and documented to assign a negative weight. Thanks for reporting!
I think -exclude is more appropriate name for the parameter.
+1 to exclude.
duplicate for #15
I'm assuming here that the only way a directory can get a negative weight is by manually editing it, as stated in the wiki. Please tell me if I'm wrong.
Related to #15, the way I'm excluding the poshgit directory is by assigning it a negative weight. I find this absolutely acceptable, more than the plugin trying to guess that I didn't want it to begin with. The problem is that every time I open the shell, the directory gets reevaluated and back in the list. I think if I assigned a negative weight (if that's the only way to get a negative weight) it implies I don't ever want to jump to that folder. It should be kept forever negative, never readded.