Skip to content

Commit

Permalink
Mise a jour du bashrc
Browse files Browse the repository at this point in the history
Pour ne plus avoir a le modifier inutilement
  • Loading branch information
bbenoist committed Jul 5, 2013
1 parent aa52e95 commit d9440f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions bashrc/arch
@@ -0,0 +1 @@
source /usr/share/git/completion/git-prompt.sh
11 changes: 4 additions & 7 deletions bashrc → bashrc/common
Expand Up @@ -7,7 +7,7 @@

# Permet d'utiliser directement nano lors d'un appel de yaourt
# Peut être remplacé par le nom de l'éditeur alternatif à utiliser
export EDITOR="nano"
export EDITOR="vim"

# Définition des alias
alias sudo='sudo ' # Permet d'utiliser les alias avec sudo
Expand Down Expand Up @@ -67,12 +67,6 @@ function extract () {

export PATH=$PATH:~/scripts

# Sources
# ArchLinux
#source /usr/share/git/completion/git-prompt.sh
# NixOS
source /var/run/current-system/sw/share/git/contrib/completion/git-prompt.sh

# Affiche un * à côté de la branche si des changements non commités sont
# présents ou affiche un + si tous les changements ont étés notifiés mais non
# commités
Expand All @@ -84,3 +78,6 @@ export GIT_PS1_SHOWUNTRACKEDFILES="true"

# Version affichant la branche git actuelle à la fin de l'en-tete bash
PS1='\e[1;0m\u@\h \e[1;1m\e[1;37m\w\e[1;0m$(__git_ps1 " (\e[1;1m\e[1;33m%s\e[1;0m)")\n\$ '

# Required by xming hardware OpenGL
export LIBGL_ALWAYS_INDIRECT=1
1 change: 1 addition & 0 deletions bashrc/debian
@@ -0,0 +1 @@
source /etc/bash_completion.d/git
1 change: 1 addition & 0 deletions bashrc/nixos
@@ -0,0 +1 @@
source /var/run/current-system/sw/share/git/contrib/completion/git-prompt.sh

0 comments on commit d9440f8

Please sign in to comment.