Smart Bash Completion

by

Pretty good tip I found here!

“To enable smart completion, edit your /etc/bash.bashrc file. Uncomment the following lines, by removing the # in the beginning of the lines:

# if [ -f /etc/bash_completion ]; then

# . /etc/bash_completion

# fi

Now you can use tab completion to power your way through commands.”

You could edit ~/.bashrc instead if you don’t want to make it global.

Advertisements

One Response to “Smart Bash Completion”

  1. Aileen Says:

    Excellent! Thanks for sharing ^_^

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: