Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to configure which files are displayed #29

Open
ascagnel opened this issue Jun 15, 2016 · 1 comment
Open

No way to configure which files are displayed #29

ascagnel opened this issue Jun 15, 2016 · 1 comment

Comments

@ascagnel
Copy link

ascagnel commented Jun 15, 2016

There's no way to configure the parameters sent to the tree command internally, so there's no way to hide files or folders -- the only option is the equivalent of ls -aR, which tends to contain way more entries than you'd normally want.

@qwc
Copy link

qwc commented Oct 2, 2018

If possible the tree command should be fed with the contents of a lying around .gitignore in the current or in any parent folder. I already wrote a little hack which I aliased to tree, but that was buggy and hadn't much time to refine it.

Other .*ignore files should be considered. It's quite easy to fill the -I option of tree, as long as the shell expansion rules are taken into account.

[edit] Would also be nice to be able to enable/disable the hidden files with a keystroke.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants