aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users/files/esmil
diff options
context:
space:
mode:
Diffstat (limited to 'roles/users/files/esmil')
-rw-r--r--roles/users/files/esmil/bashrc2
-rw-r--r--roles/users/files/esmil/bashrc_root2
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/users/files/esmil/bashrc b/roles/users/files/esmil/bashrc
index 39a2c53..dc0c80a 100644
--- a/roles/users/files/esmil/bashrc
+++ b/roles/users/files/esmil/bashrc
@@ -1,6 +1,8 @@
# if not running interactively, don't do anything
[[ $- != *i* ]] && return
+set -o vi
+
export PS1='\[\e[1;32m\]\u\[\e[00m\]@\[\e[0;32m\]\h\[\e[1;34m\]\w\[\e[00m\]\$ '
unset PROMPT_COMMAND
export -n PROMPT_COMMAND
diff --git a/roles/users/files/esmil/bashrc_root b/roles/users/files/esmil/bashrc_root
index 354ff57..4214a2a 100644
--- a/roles/users/files/esmil/bashrc_root
+++ b/roles/users/files/esmil/bashrc_root
@@ -1,6 +1,8 @@
# if not running interactively, don't do anything
[[ $- != *i* ]] && return
+set -o vi
+
export PS1='\[\e[1;31m\]\u\[\e[00m\]@\[\e[0;31m\]\h\[\e[1;34m\]\w\[\e[00m\]\$ '
unset PROMPT_COMMAND
export -n PROMPT_COMMAND