From d2b24636731c0555f6561cee2eb9b4d4d375aa3b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 28 May 2016 16:58:45 +0200 Subject: Only use fish as graphical shell This mitigates some issues with correctly loading the system locales --- bash/.bashrc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 bash/.bashrc (limited to 'bash') diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..eb33c7a --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,10 @@ +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx +fi + +if [[ "$TERM" != linux ]]; then + exec fish +fi -- cgit v1.2.3