Skip to content

Instantly share code, notes, and snippets.

@couraudt
Forked from Victa/gist:1348099
Created November 9, 2011 13:52
Show Gist options
  • Save couraudt/1351490 to your computer and use it in GitHub Desktop.
Save couraudt/1351490 to your computer and use it in GitHub Desktop.
mon .bash_profile
# 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\]\$ "
@couraudt
Copy link
Author

couraudt commented Nov 9, 2011

even like that @Victa :)

@Victa
Copy link

Victa commented Nov 21, 2011

hihi

@Victa
Copy link

Victa commented Dec 9, 2012

Oh man! Je t'écris ce petit commentaire via Gisties :)

@Victa
Copy link

Victa commented Dec 9, 2012

Tu me diras @sweetdub si tu reçois bien les notifs mail lorsque tu reçois un comment via gisties ;-)

@Victa
Copy link

Victa commented Dec 9, 2012

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