diff --git a/shells/zshrc b/shells/zshrc index ee7c071..737b656 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -435,47 +435,18 @@ k(){ vim "$@" fi } -# To resize, -# :%S/\[([# ]{9})\]/[\1 ] - -# OPAM configuration -. /home/stonewareslord/.opam/opam-init/init.zsh > /dev/null 2> /dev/null || true (( $+TMUX )) && unset zle_bracketed_paste [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh #Old config options that are no longer in use -#alias cpatch='diff -crB' -#alias capatch='patch --dry-run -p1 -i' -#alias apatch='patch -p1 -i' #alias pg="pcregrep -M" #if command -v greadlink 2>&1 >/dev/null; then # alias readlink='greadlink' #fi -#alias dumpx="xauth extract /tmp/xauthstuff $DISPLAY" -#alias impx="xauth merge /tmp/xauthstuff;rm /tmp/xauthstuff" -#alias sudo='sudo ' -#rsh(){ -# if [ -z $1 ] ; then -# echo "Valid hostnames:" -# cat /home/stonewareslord/syncthing/shared/ips -# return 1 -# fi -# ADDR=$(cat /home/stonewareslord/syncthing/shared/ips | sed -rne "s/^$1: //pi") -# shift -# if [ -z $ADDR ] ; then -# echo "Hostname not found" -# return 2 -# fi -# echo "SSH to $ADDR..." -# tsh $ADDR $* -#} -#alias dt='date "+%F %T"' -#alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done' #alias adk='/home/stonewareslord/Applications/adk/bin/studio.sh & disown' #alias steamo='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' #alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' -#alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}' #alias aoeu='setxkbmap -layout us -option "' #alias asdf='setxkbmap -layout dvorak -option ""' #alias sudo='sudo -H' diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 16999fb..5362905 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -48,7 +48,6 @@ bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace" set-option -g pane-border-fg colour235 set-option -g pane-active-border-fg colour240 set-option -g status on -set -g status-utf8 on set -g status-interval 5 set -g status-right-length 60 set -g status-right "#[fg=white]#S #I:#P #[fg-yellow] %d %b %Y #[fg=green] %l:%M:%S %p"