commit 26c3eab9ad14fb427393a3b3eb8b62fc43cb57ce parent 94b7fd0f48043decc859ad2136b08fa196342da7 Author: Daniel Moch <daniel@danielmoch.com> Date: Sun, 22 Sep 2019 06:37:38 -0400 My: Add st as a terminal emulator option Diffstat:
M | .local/bin/my | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.local/bin/my b/.local/bin/my @@ -62,7 +62,10 @@ case $command in ;; term) SHLVL=0; export SHLVL - if type urxvtd > /dev/null 2>&1 + if type st > /dev/null 2>&1 + then + exec st "$@" + elif type urxvtd > /dev/null 2>&1 then urxvtc "$@" if [ "$?" -eq 2 ]