aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc10
1 files changed, 10 insertions, 0 deletions
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