User:Pepoluan/Arch Customizations
This is a list of the various customization I do on my Arch Linux installation.
powerpill
pacman -S powerpill
vim instead of vi
powerpill -S vim powerpill -R vi ln -s /usr/bin/vim /usr/bin/vi cp /usr/share/vim/vim73/vimrc_example.vim ~/.vimrc
bash colored & explicit prompt
... by placing the following code above the last line of /etc/bash.bashrc:
# Default color: Lightblue PROMPT_COLOR='1;34m' # If I am root, set the prompt to bright red if [ ${UID} -eq 0 ]; then PROMPT_COLOR='1;31m' fi PS1='\e[${PROMPT_COLOR}\][\u @ \e[m\]\H\e[${PROMPT_COLOR}\] ${PWD}]\n\#\$ \[\e[m\]'
ls in color and coded
... by placing the following code above the last line of /etc/bash.bashrc:
ls () { /bin/ls --color=auto -aFv $* }