Config cleanup

This commit is contained in:
Austen Adler 2016-07-18 17:17:50 -04:00
parent f61b049a6f
commit 7f653aab9a
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1
2 changed files with 0 additions and 30 deletions

View File

@ -435,47 +435,18 @@ k(){
vim "$@" vim "$@"
fi 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 (( $+TMUX )) && unset zle_bracketed_paste
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
#Old config options that are no longer in use #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" #alias pg="pcregrep -M"
#if command -v greadlink 2>&1 >/dev/null; then #if command -v greadlink 2>&1 >/dev/null; then
# alias readlink='greadlink' # alias readlink='greadlink'
#fi #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 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 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 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 aoeu='setxkbmap -layout us -option "'
#alias asdf='setxkbmap -layout dvorak -option ""' #alias asdf='setxkbmap -layout dvorak -option ""'
#alias sudo='sudo -H' #alias sudo='sudo -H'

View File

@ -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-border-fg colour235
set-option -g pane-active-border-fg colour240 set-option -g pane-active-border-fg colour240
set-option -g status on set-option -g status on
set -g status-utf8 on
set -g status-interval 5 set -g status-interval 5
set -g status-right-length 60 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" set -g status-right "#[fg=white]#S #I:#P #[fg-yellow] %d %b %Y #[fg=green] %l:%M:%S %p"