3

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 Answer 1

2
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .