Affichage des articles dont le libellé est bashrc. Afficher tous les articles
Affichage des articles dont le libellé est bashrc. Afficher tous les articles


Hi everybody!
1) You can find the icon & GTK & Emerald theme here:
http://www.gnome-look.org/content/show.php/Gray+Dark+Ice+Emerald+Theme?content=73173
2) If you want to customize your shell with colors, you need to modify the .bashrc into your home directory
You can open a terminal and gedit .bashrc & -> you can modify the color prompt section
3) With .bashrc you can easily create some alias or some cmd.
You can look at the end of my file :
//.bashrc
# Calendrier du mois avec le jour en cours en rouge:
alias cal='var=$(/usr/bin/cal -m); echo "${var/$(date +%-d)/$(echo -e "\033[1;31m$(date +%-d)\033[0m")}"'

# les 10 plus gros fichiers/répertoires du réperoitre en cours
alias topten='du -sk $(/bin/ls -A) | sort -rn | head -10'

# change le titre de la fenêtre de la console
t () {
echo -ne "\\e]2;$1\\a"
}


# some more ls aliases
alias ll='ls -l'
alias free='free -m'
alias df='df -h'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias glxgears='glxgears -printfps'
# set a fancy prompt (non-color, unless we know we "want" color)
PS1="\[\033[01;31m\][\u@\h\[\033[00m\]:\[\033[01;34m\]\w]\[\033[00m\]\$ "

//end of .bashrc

If you have some question feel free to email me.
Digg this

| Send by Email/Envoyer cet article par Email edit post