diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-26 22:57:25 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-26 22:57:25 +0100 |
commit | 386f9271125f93651cb20420de696efab8798fa9 (patch) | |
tree | 1b01de15af3bb8c50290087606aa1251420a769a /roles/shell/bash | |
parent | d512a906fcdbca34791beab9946f9f505fbe60a1 (diff) | |
download | Ansible-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.j2 | 3 |
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 | ||
8 | if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then | 9 | if [[ ! $DISPLAY && $XDG_VTNR -eq {{ lookup('env', "XDG_VTNR") | default(1, true) }} ]]; then |