Difference between revisions of "Bash completion"

From ArchWiki
Jump to navigation Jump to search
(merged into bash)
Line 1: Line 1:
[[Category:Command shells (English)]]
+
#REDIRECT [[Bash]]
[[Category:Customizing (English)]]
 
[[Category:HOWTOs (English)]]
 
==Enabling Bash Completion==
 
 
 
Enabling bash completion is quite simple. Here's how.
 
 
 
<pre>pacman -Sy bash-completion</pre>
 
 
 
Edit ~/.bashrc and add the following:
 
 
 
<pre>
 
# enable bash completion in interactive shells
 
if [ -f /etc/bash_completion ]; then
 
    . /etc/bash_completion
 
fi
 
</pre>
 

Revision as of 11:03, 1 February 2007

Redirect to: