-
-
Save couraudt/1351490 to your computer and use it in GitHub Desktop.
mon .bash_profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Colors (with dark background) ============ | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
# Alias ===================================== | |
# Avoir des / après les noms de dossiers | |
alias ls='ls -hF' | |
# Obtenir un listage de répertoire détaillé | |
alias ll='ls -lh' | |
# Lister avec les fichiers cachés | |
alias la='ls -lah' | |
# la total | |
alias l='la -lah' | |
# Shortcuts ================================= | |
# Folders | |
# Sites | |
alias www='cd /Users/victorcoulon/Sites/' | |
# apache | |
alias ap='cd /opt/local/apache2/' | |
# me | |
alias home='cd /Users/victorcoulon/' | |
# Cmds | |
# restart apache | |
alias apr='sudo /opt/local/apache2/bin/apachectl restart' | |
# Git prompt | |
function parse_git_branch_and_add_brackets { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\ \[\1\]/' | |
} | |
PS1="\h:\W \u\[\033[0;32m\]\$(parse_git_branch_and_add_brackets) \[\033[0m\]\$ " |
hihi
Oh man! Je t'écris ce petit commentaire via Gisties :)
Tu me diras @sweetdub si tu reçois bien les notifs mail lorsque tu reçois un comment via gisties ;-)
Et là je t'envois un commentaire via github.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
even like that @Victa :)