aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/x.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-29 09:59:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-29 10:06:11 +1200
commit790231af98bfe3fabf3684eeb1b503e710ef915f (patch)
tree162fafaac4d712daa95377f6dc60fe6f8cb700fd /sh/shrc.d/x.sh
parentRemove misleading comment (diff)
downloaddotfiles-790231af98bfe3fabf3684eeb1b503e710ef915f.tar.gz
dotfiles-790231af98bfe3fabf3684eeb1b503e710ef915f.zip
Move x() shortcut to X11 directory and target
Diffstat (limited to 'sh/shrc.d/x.sh')
-rw-r--r--sh/shrc.d/x.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/sh/shrc.d/x.sh b/sh/shrc.d/x.sh
deleted file mode 100644
index ed921c68..00000000
--- a/sh/shrc.d/x.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-# Most systems won't have X, so we'll only define this if we have startx(1)
-command -v startx >/dev/null 2>&1 || return
-
-# Quick one-key command to launch an X session
-x() {
- exec startx "$@"
-}