dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 70c4d7e608030bf5a5475d24931f0caccdc4494b
parent d647c3ae645cec7ceade98fde23b258257fe29dd
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Wed,  6 Jan 2021 20:01:17 -0500

Clean up shrc file

Diffstat:
M.config/shrc | 19+++----------------
1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/.config/shrc b/.config/shrc @@ -9,6 +9,9 @@ esac # Set history length HISTSIZE=100000 +# Disable CTRL-S and CTRL-Q +stty -ixon + # Shell prompt PS1='[`date +%H:%M:%S`] `hostname` `pwd | sed "s,^$HOME,~,"` $ ' @@ -34,19 +37,3 @@ alias units='units --history "$XDG_CACHE_HOME"/units_history' alias poweroff='yay -Syu && doas poweroff' alias reboot='yay -Syu && doas reboot' alias spawn='st > /dev/null 2>&1 &' - -# Disable CTRL-S and CTRL-Q -stty -ixon - -# Start tmux automatically (or attach to existing session) if: -# 1. This is an interactive shell -# 2. TERM variable does not indicate we are in a screen or tmux session already -# 3. The environment variable TMUX is not set -# 4. We are not on /dev/tty1 to allow X to start -# if [ -n "$PS1" ] && -# [ ! "$TERM" = "screen" ] && -# [ ! "$TERM" = "tmux" ] && -# [ -z "$TMUX" ] && -# [ $(tty) != "/dev/tty1" ]; then -# exec tmux -# fi