# /etc/inputrc vs .inputrc and bash autocompletion problems

**URL:** <https://forums.suse.com/t/etc-inputrc-vs-inputrc-and-bash-autocompletion-problems/24324>\
**Category:** SLES Configure-Administer\
**Created:** [August 24, 2013, 5:22am UTC](https://forums.suse.com/t/etc-inputrc-vs-inputrc-and-bash-autocompletion-problems/24324 "2013-08-24T05:22:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![savithari](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@savithari](https://forums.suse.com/u/savithari)\
**Post date:** [August 24, 2013, 5:22am UTC](https://forums.suse.com/t/etc-inputrc-vs-inputrc-and-bash-autocompletion-problems/24324/1 "2013-08-24T05:22:06Z")

</div>

Friends:

OS: Open Suse 11.4 64 bit running inside Virtualbox.

I am following the link  
[http://superuser.com/questions/222390/making-bash-tab-completion-more-like-cmd-exe](http://superuser.com/questions/222390/making-bash-tab-completion-more-like-cmd-exe)

to make bash behave like cmd.

It worked well in Arch Linux.

Recently I felt like I want to put this in Open Suse 11.4 and put the changes  
to [COLOR=“#0000FF”].inputrc[/COLOR] and restarted the box (permissions of .inputrc = 755)

[INDENT][FONT=Courier New][SIZE=4]set completion-ignore-case on

# Ignore case when doing completion

set mark-directories on

# Completed dir names have a slash appended

set visible-stats on

# List ls -F for completion

“\C-i”: menu-complete  
[/SIZE][/FONT][/INDENT]

The TAB completion [COLOR=“#FF0000”]DID NOT work[/COLOR].

Tried a lot but no luck.

I then moved the above section to /etc/inputrc and restarted the machine

and VIOLA the tab completion works.

But in my office env, I dont have the luxury of modifying the [COLOR=“#0000FF”]/etc/inputrc[/COLOR] and only [COLOR=“#0000FF”].inputrc[/COLOR] will help.

Any ideas/suggestion would help.

---

<div class="post-metadata">

**Author:** ![KEVIN1](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@KEVIN1](https://forums.suse.com/u/KEVIN1)\
**Post date:** [August 24, 2013, 9:57am UTC](https://forums.suse.com/t/etc-inputrc-vs-inputrc-and-bash-autocompletion-problems/24324/2 "2013-08-24T09:57:06Z")

</div>

savithari wrote:  
[color=blue]

> OS: Open Suse 11.4 64 bit running inside Virtualbox.[/color]

This forum is for Suse Linux Enterprise Server. If you’re asking about  
OpenSUSE you should be posting in one of these openSUSE forums where  
Members with the appropriate expertise will be pleased to help you.  
[https://forums.opensuse.org/english/](https://forums.opensuse.org/english/)

–  
Kevin Boyle - Knowledge Partner  
If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…
