babarot / enhancd

:rocket: A next-generation cd command with your interactive filter
2.58k stars 109 forks source link

Update log structure logic #186

Closed babarot closed 1 year ago

babarot commented 1 year ago

WHAT

Update the behavior that $PWD (~/src/github.com/b4b4r07/enhancd) is passed to __enhancd::filepath::walk

BEFORE AFTER
``` /Users/babarot/src/github.com/b4b4r07/enhancd /Users/babarot/src/github.com/b4b4r07/enhancd/docs /Users/babarot/src/github.com/b4b4r07/enhancd/functions /Users/babarot/src/github.com/b4b4r07/enhancd/conf.d /Users/babarot/src/github.com/b4b4r07/enhancd/src ``` ``` /Users/babarot/src/github.com/b4b4r07/enhancd /Users/babarot/src/github.com/b4b4r07/enhancd/docs /Users/babarot/src/github.com/b4b4r07/enhancd/functions /Users/babarot/src/github.com/b4b4r07/enhancd/conf.d /Users/babarot/src/github.com/b4b4r07/enhancd/src /Users/babarot/src/github.com/b4b4r07 /Users/babarot/src/github.com/b4b4r07/dotfiles /Users/babarot/src/github.com/b4b4r07/afx /Users/babarot/src/github.com/b4b4r07/enhancd /Users/babarot/src/github.com/b4b4r07/tmux-git-prompt /Users/babarot/src/github.com/b4b4r07/gomi /Users/babarot/src/github.com /Users/babarot/src/github.com/maximousblk /Users/babarot/src/github.com/wbthomason /Users/babarot/src/github.com/tmux /Users/babarot/src/github.com/b4b4r07 /Users/babarot/src /Users/babarot/src/github.com /Users/babarot /Users/babarot/Music /Users/babarot/Pictures /Users/babarot/Desktop /Users/babarot/Library /Users/babarot/iCloud Drive /Users/babarot/Public /Users/babarot/Movies /Users/babarot/Applications /Users/babarot/Documents /Users/babarot/Downloads /Users/babarot/pkg /Users/babarot/src /Users /Users/Shared /Users/babarot / /usr /bin /sbin /Library /System /private /Users /Applications /opt /dev /Volumes /cores ```

WHY

More dir list should be nice to be recorded at once if it's not registered the enhancd log to be more convenient.