summaryrefslogtreecommitdiff
path: root/roles/shell/bash
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-26 22:57:25 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-26 22:57:25 +0100
commit386f9271125f93651cb20420de696efab8798fa9 (patch)
tree1b01de15af3bb8c50290087606aa1251420a769a /roles/shell/bash
parentd512a906fcdbca34791beab9946f9f505fbe60a1 (diff)
downloadAnsible-386f9271125f93651cb20420de696efab8798fa9.tar.gz
Ansible-386f9271125f93651cb20420de696efab8798fa9.tar.zst
Ansible-386f9271125f93651cb20420de696efab8798fa9.zip
Some fixes
- Firefox creates desktop dir unless a trailing / is added to XDG_DESKTOP_DIR - LESS options - evince option - bashrc is loaded twice - add gundo for vim
Diffstat (limited to 'roles/shell/bash')
-rw-r--r--roles/shell/bash/templates/bash_profile.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/shell/bash/templates/bash_profile.j2 b/roles/shell/bash/templates/bash_profile.j2
index f622f67..5be21a9 100644
--- a/roles/shell/bash/templates/bash_profile.j2
+++ b/roles/shell/bash/templates/bash_profile.j2
@@ -2,7 +2,8 @@
2# This file is loaded thanks to as line in /etc/profile 2# This file is loaded thanks to as line in /etc/profile
3# test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile 3# test "$BASH" && test -r "$XDG_CONFIG_HOME/bash/bash_profile" && . $XDG_CONFIG_HOME/bash/bash_profile
4 4
5[[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc 5# Loaded by /etc/profile already
6# [[ -f $XDG_CONFIG_HOME/bash/bashrc ]] && . $XDG_CONFIG_HOME/bash/bashrc
6{% if "graphical_vt" in features.get(profile, []) %} 7{% if "graphical_vt" in features.get(profile, []) %}
7 8
8if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then 9if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then