Is there a way to make the bash auto-complete show a list with line for each entry?
up vote
2
down vote
favorite
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/ ...
bash auto-completion
add a comment |Â
up vote
2
down vote
favorite
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/ ...
bash auto-completion
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
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/ ...
bash auto-completion
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/ ...
bash auto-completion
edited Jun 10 at 15:53
Thomas
3,09071325
3,09071325
asked Jun 10 at 14:47
CIsForCookies
1426
1426
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
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
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
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
add a comment |Â
up vote
1
down vote
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
add a comment |Â
up vote
1
down vote
up vote
1
down vote
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
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
answered Jun 10 at 17:19
wjandrea
7,00542054
7,00542054
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045315%2fis-there-a-way-to-make-the-bash-auto-complete-show-a-list-with-line-for-each-ent%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password