Uploaded August 2017 | Updated September 2026, 2 weeks ago
This is a tutorial on how to enable colors for your terminal output in Arch Linux. In particular, in your Bash environment, in your pacman package manager, and for your nano text editor.
1. Enable colors in Bash.
Backu up the settings:
cp .bashrc .bashrc.backup
sudo cp /etc/bash.bashrc /etc/bash.bashrc.backup
Download links for these three files are in this article: averagelinuxuser.com/linux-terminal-color
Move these files to the following places:
sudo mv bash.bashrc /etc/bash.bashrc
sudo mv DIR_COLORS /etc/
mv .bashrc ~/
2. Colorful output in pacman.
Back up you pacman.config file.
sudo cp /etc/pacman.conf /etc/pacman.conf.backup
And uncomment the word color in that file:
sudo sed -i 's/#Color/Color/g' /etc/pacman.conf
3. Syntaxt highlighting in nano.
Backup you nano config files:
cp ~/.nanorc ~/.nanorc .backup
sudo cp /etc/nanorc /etc/nanorc.backup
Edit either ~/.nanorc or /etc/nanorc. Add the following line at the end of the file:
include "/usr/share/nano/*.nanorc"
The wallpaper can be downloaded from my wallpaper G+ collection plus.google.com/b/105235169774065518394/collection/YlkQNE
Please, let me know if you know more terminal color settings. Maybe I missed something.
Thank you for watching.
################################################
Support on Patreon: patreon.com/averagelinuxuser
Donate through PayPal: paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: facebook.com/AverageLinuxUser
Twitter - Daily Linux News: twitter.com/AVGLinuxUser
Website: averagelinuxuser.com
This is a tutorial on how to enable colors for your terminal output in Arch Linux. In particular, in your Bash environment, in your pacman package manager, and for your nano text editor.
1. Enable colors in Bash.
Backu up the settings:
cp .bashrc .bashrc.backup
sudo cp /etc/bash.bashrc /etc/bash.bashrc.backup
Download links for these three files are in this article: averagelinuxuser.com/linux-terminal-color
Move these files to the following places:
sudo mv bash.bashrc /etc/bash.bashrc
sudo mv DIR_COLORS /etc/
mv .bashrc ~/
2. Colorful output in pacman.
Back up you pacman.config file.
sudo cp /etc/pacman.conf /etc/pacman.conf.backup
And uncomment the word color in that file:
sudo sed -i 's/#Color/Color/g' /etc/pacman.conf
3. Syntaxt highlighting in nano.
Backup you nano config files:
cp ~/.nanorc ~/.nanorc .backup
sudo cp /etc/nanorc /etc/nanorc.backup
Edit either ~/.nanorc or /etc/nanorc. Add the following line at the end of the file:
include "/usr/share/nano/*.nanorc"
The wallpaper can be downloaded from my wallpaper G+ collection plus.google.com/b/105235169774065518394/collection/YlkQNE
Please, let me know if you know more terminal color settings. Maybe I missed something.
Thank you for watching.
################################################
Support on Patreon: patreon.com/averagelinuxuser
Donate through PayPal: paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: facebook.com/AverageLinuxUser
Twitter - Daily Linux News: twitter.com/AVGLinuxUser
Website: averagelinuxuser.com






![Command-line completion (tab completion)
What is the command-line completion (also know as tab completion)?
When you type a command you can press the Tab key, and the terminal will complete that command. It simplifies the use of the command line a lot. In this video you will learn how to use the tab completion and how to enable it.
Also, watch how to enable colors in terminal https://youtu.be/giAb4Ckh8BQ
If tab completion doesnt work for sudo, edit the ~/.bashrc file by addin this line to it:
complete -cf sudo
Or install the bash-completion package.
In Arch Linux:
sudo pacman -S bash-completion
In Ubuntu, Debian and Debian-based distros:
sudo apt install bash-completion
In Debian and Debian-based distro, bash-completion sometimes doesn’t work. You need to check your .bashrc file.
It should have this content there
# enable programmable completion features (you dont need to enable
# this, if its already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
If it doesn’t have it, add it at the end of the file.
To reinstall:
sudo apt install bash-completion reinstall
If you liked the Linux Mint theme, watch this video to install this theme https://youtu.be/osA-ZEEz6Zw
################################################
Support on Patreon: https://www.patreon.com/averagelinuxuser
Donate through PayPal: https://www.paypal.me/Kryvokhyzha
################################################
More cool Linux stuff at other social media:
Google+ - Best Linux Stuff: https://plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: https://www.facebook.com/AverageLinuxUser
Twitter - Daily Linux News: http://twitter.com/AVGLinuxUser
Website: http://averagelinuxuser.com/ Command-line completion (tab completion)](https://i.ytimg.com/vi/k5A12buZ8To/mqdefault.jpg)



