aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users/files
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2020-06-01 16:55:20 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2020-06-01 16:55:20 +0200
commitfc663113f12a8fa4b419bd71ad3643aad50357cb (patch)
tree327b6654fbce91c4fc6f8600a8dfb334729f9334 /roles/users/files
parentfb68938e203c50e042f9ae3421a1c9e8724a090d (diff)
downloadlabitat-ansible-fc663113f12a8fa4b419bd71ad3643aad50357cb.tar.gz
labitat-ansible-fc663113f12a8fa4b419bd71ad3643aad50357cb.tar.xz
labitat-ansible-fc663113f12a8fa4b419bd71ad3643aad50357cb.zip
users: esmil: add stitch key and update .bashrc
Diffstat (limited to 'roles/users/files')
-rw-r--r--roles/users/files/esmil/bashrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/roles/users/files/esmil/bashrc b/roles/users/files/esmil/bashrc
index dc0c80a..e217319 100644
--- a/roles/users/files/esmil/bashrc
+++ b/roles/users/files/esmil/bashrc
@@ -1,11 +1,9 @@
# if not running interactively, don't do anything
-[[ $- != *i* ]] && return
+[[ $- = *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
# directory listing
if type dircolors > /dev/null 2>&1; then