commit 9f54e52b9eb0fadd482abb7a22f2eac48f34b976
parent 8b94381168f34aaafd0bcd5d11c977c668d7a718
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Mon, 30 Mar 2015 02:47:19 +0200
ignore private stuff
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -5,3 +5,4 @@ vim/perso
vim/spell/
vim/bundle
private.git
+zsh/ps1
diff --git a/zsh/zshrc b/zsh/zshrc
@@ -26,7 +26,10 @@ CYAN=$'%{\e[36m%}'
COLOR1="$GREEN"
COLOR2="$RED"
-. ~/.zsh/ps1
+if [ -f ~/.zsh/ps1 ]
+then
+ . ~/.zsh/ps1
+fi
resetps1() {
PS1=$COLOR1$'%m%{\e[0;1m%}:'$COLOR2$'%B%~%{\e[0;1m%}$%b '