summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/.shrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/.shrc b/sh/.shrc
index ee2d5ac..402c592 100644
--- a/sh/.shrc
+++ b/sh/.shrc
@@ -23,3 +23,7 @@ bind ^[[A ed-search-prev-history
bind ^[[B ed-search-next-history
bind "\\e[1;5C" em-next-word
bind "\\e[1;5D" ed-prev-word
+
+if [ "$(tty)" = /dev/ttyv0 ]; then
+ startx
+fi