commit 2536d22c5227a24d0374be0c72ea50e287579017
parent fba08298484fdf9dff8ac360b1576c8d047b05b3
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Thu, 3 Oct 2013 22:40:05 +0200
-perso
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/zsh/zshrc b/zsh/zshrc
@@ -1,5 +1,4 @@
. ~/.zsh/path
-. ~/.zsh/perso
. ~/.zsh/alias
# . ~/apps/z/z.sh
@@ -14,7 +13,12 @@ compinit
# export PROMPT="%n@%m:%~$ "
#PS1=$'%{\e[1;32m%}%n@h%{\e[0m%}:%B%~$%b '
+
+resetps1() {
PS1=$'%{\e[32m%}%m%{\e[0;1m%}:%{\e[31m%}%B%~%{\e[0;1m%}$%b '
+}
+resetps1
+
# PS1=$'%{\e[1;32m%}%n@%m%{\e[0m%}:%B%~$%b '
# PS1=$'%{\e[1;32m%}%n%{\e[0m%}@%{\e[1;32m%}%m%{\e[0m%}:%B%~$%b '