From a0b2ce7d085ca3756828fadfea80faa3aec3cd5a Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 7 Jul 2024 10:34:47 -0400 Subject: [PATCH] ADD startx function --- dot_config/zsh/dot_zshrc.tmpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dot_config/zsh/dot_zshrc.tmpl b/dot_config/zsh/dot_zshrc.tmpl index 77b8d60..3ed89a5 100644 --- a/dot_config/zsh/dot_zshrc.tmpl +++ b/dot_config/zsh/dot_zshrc.tmpl @@ -364,6 +364,16 @@ alias_if xclip \ alias_if squeue \ squ="squeue -u $(id -u)" +## -------------------------------------------------- +## Functions +## -------------------------------------------------- + +if [ -f $XDG_CONFIG_HOME/X11/xinitrc ]; then + xx () { + startx $XDG_CONFIG_HOME/X11/xinitrc -- -keeptty > /tmp/dump 2>&1 + } +fi + ## -------------------------------------------------- ## Manly Colors ## --------------------------------------------------