2

when I want to see the content of a dir I use ~/ + Tab and it shows me

.bashrc.swp           .gitconfig            .local/   ...

Is there a way to make the results separated by newlines?

i.e.

.bashrc.swp 
.gitconfig
.local/   ...
1
bind 'set completion-display-width 0'

If you run this in the shell, it will affect the current session. If you want it to affect all sessions, put it at the end of your ~/.bashrc.

Or you can put this line in your ~/.inputrc:

set completion-display-width 0

Source and more details: Grisha Levit's answer on this Stack Overflow question

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.