dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 2260c6b0adee25623280c44f0dc736ea7c8c2596
Parent: 9246ed6969cb87828e83b29593b2e2089aacc335
Author: Randy Palamar
Date:   Wed, 28 Apr 2021 16:34:43 -0600

set BROWSER in env and startx after env variables are set

Diffstat:
M.config/ksh/kshenv | 1+
M.config/ksh/kshrc | 20++++++++++----------
2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/.config/ksh/kshenv b/.config/ksh/kshenv @@ -1,3 +1,4 @@ +export BROWSER=browser #export MPD_HOST=~/.config/mpd/socket export MPD_HOST="localhost" export LESSHISTFILE="-" diff --git a/.config/ksh/kshrc b/.config/ksh/kshrc @@ -5,16 +5,6 @@ UNAME="$(uname -s)" KSHDIR=~/.config/ksh -if [ $UNAME == "OpenBSD" ]; then - ulimit -c 0 -fi - -if [ $UNAME == "Linux" ]; then - if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then - startx ~/.config/x11/xinitrc - fi -fi - ######################### # Environment Variables # ######################### @@ -26,6 +16,16 @@ if [ -n "$SSH_CONNECTION" ]; then PS1="(\h) $PS1" fi +if [ $UNAME == "OpenBSD" ]; then + ulimit -c 0 +fi + +if [ $UNAME == "Linux" ]; then + if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then + startx ~/.config/x11/xinitrc + fi +fi + ########### # Aliases # ###########