From b6fd0ffcb3ddcd6f346a133d9c1772b9c995d5e2 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 25 Mar 2015 14:25:22 -0400 Subject: [PATCH] Minor improvements --- shells/Xresources | 1 - shells/zshrc | 9 +++++---- vim/vimrc | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/shells/Xresources b/shells/Xresources index 68b53b8..06e682a 100644 --- a/shells/Xresources +++ b/shells/Xresources @@ -42,4 +42,3 @@ UXTerm*color6: #00d7ff UXTerm*color14: #00d7ff UXTerm*color7: #ffffff UXTerm*color15: #ffffff -UXTerm*backarrowKey: false diff --git a/shells/zshrc b/shells/zshrc index 37568ff..49cfb78 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -52,6 +52,7 @@ echo "done" if [ -f /etc/zsh_command_not_found ] ; then source /etc/zsh_command_not_found fi +export DISABLE_AUTO_TITLE=true export PATH="/home/stonewareslord/.autojump/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" export EDITOR='vim' if [ "$(uname)" != "Darwin" ]; then @@ -68,7 +69,9 @@ alias ll='ls -AglhF' alias la='ls -A' alias l='ls -CF' alias logout='sudo pkill -u $USER' -alias fixsh='ssh-keygen -R' +function fixsh(){ + sed -i '' -e $1"d" ~/.ssh/known_hosts +} alias tmux='tmux -2' alias less='less -R' alias tree='tree -C' @@ -118,6 +121,7 @@ alias fk='k `fzf --no-mouse -m -1 -x`' alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}' alias slp='smon ./x&DISPLAY=:0.0 i3lock -di `echo $(shuf -n1 -e ~/.i3/wall/*) | tee /tmp/wall`' alias updateall='sudo sh -c "apt-get update;apt-get upgrade -y;apt-get dist-upgrade -y;apt-get autoremove -y"' +alias susp="echo mem|sudo tee /sys/power/state>/dev/null" alias -s html="firefox" alias -s log="less -MN" alias -s odt="libreoffice" @@ -197,8 +201,6 @@ function initify(){ git checkout master fi } -function ovim(){ vim +"SessionOpen $@"; } -function ogvim(){ gvim +"SessionOpen $@"; } function tsh(){ ssh $* -X if which ponysay >/dev/null; then @@ -275,4 +277,3 @@ function k(){ fi } [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh -export DISABLE_AUTO_TITLE=true diff --git a/vim/vimrc b/vim/vimrc index a190d1f..addfbc9 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -172,7 +172,7 @@ set background=dark set t_Co=256 set gdefault set nocompatible -set rtp+=~/.vim/bundle/vundle/ +"set rtp+=~/.vim/bundle/vundle/ set ignorecase set textwidth=0 syntax on