diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/users/defaults/main.yml | 1 | ||||
-rw-r--r-- | roles/users/files/esmil/bashrc | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/roles/users/defaults/main.yml b/roles/users/defaults/main.yml index f42a67f..370b9be 100644 --- a/roles/users/defaults/main.yml +++ b/roles/users/defaults/main.yml @@ -6,6 +6,7 @@ userdata: tasks: true password: '$6$1RwgF85UfHCIPzNd$Ow9pn9muQ2raoB0andBcrDkB9UqqmXylqWVXDsxgFqhHc5uNk7MZdhtGnz9P5UOSwadEpHkSG0VrP9eOPM8nj0' authorized_keys: + - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuodYrzc+xUF8BiC39KfzeK11BFXmz6rYMEHxYfhjum esmil@stitch' - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIESZrJ5ystrdDYZok0jCJKePa2JUL+t2DrbkMWwNheeQ esmil@plastik2' - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGvUI9Gme812b75R//zEGJm5pURhaJpWCn7lwMuOrVC esmil@alcazar' - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHo3wq70/mMiOTgNdijxDp7CjrclMOM9f7JSnMtqSevM esmil@matahari' 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 |