This commit is contained in:
Austen Adler 2014-09-28 11:45:17 -04:00
parent 2b6e2e65de
commit 008e1d864b
4 changed files with 10 additions and 6 deletions

View File

@ -68,3 +68,4 @@ pm-utils
alsa-utils alsa-utils
numlockx numlockx
virtualbox virtualbox
x11vnc

View File

@ -71,6 +71,9 @@ while getopts ":hbsdtclw" VALUE "$@"; do
if [ ! -f ~/.oh-my-zsh/oh-my-zsh.sh ] ; then if [ ! -f ~/.oh-my-zsh/oh-my-zsh.sh ] ; then
curl -L http://install.ohmyz.sh | sh curl -L http://install.ohmyz.sh | sh
fi fi
if [ ! -d ~/.fzf ] ; then
git clone https://github.com/junegunn/fzf.git ~/.fzf
fi
ln -s $ABSPATH/shells/zshrc ~/.zshrc ln -s $ABSPATH/shells/zshrc ~/.zshrc
ln -s $ABSPATH/shells/screenrc ~/.screenrc ln -s $ABSPATH/shells/screenrc ~/.screenrc
ln -s $ABSPATH/shells/Xresources ~/.Xresources ln -s $ABSPATH/shells/Xresources ~/.Xresources

View File

@ -3,7 +3,7 @@ xterm*vt100*geometry: 80x60
xterm*saveLines: 16384 xterm*saveLines: 16384
xterm*loginShell: true xterm*loginShell: true
xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
xterm*termName: xterm-color xterm*termName: xterm-256color
xterm*eightBitInput: false xterm*eightBitInput: false
*VT100*Translations: #override \ *VT100*Translations: #override \

View File

@ -82,17 +82,17 @@ alias vpn="cd ~/.openvpn;sudo openvpn config.ovpn;cd -"
alias to="~/.todo/todo.sh" alias to="~/.todo/todo.sh"
alias stdns="sudo sh -c 'echo \"nameserver 8.8.8.8\\nnameserver 8.8.4.4\" > /etc/resolv.conf'" alias stdns="sudo sh -c 'echo \"nameserver 8.8.8.8\\nnameserver 8.8.4.4\" > /etc/resolv.conf'"
alias fvim="vim -u NONE +\"so ~/.vim/bundle/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/bundle/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\"" alias fvim="vim -u NONE +\"so ~/.vim/bundle/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/bundle/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\""
alias fk='k `fzf +c --no-mouse -m -1 -x`' alias fk='k `fzf --no-mouse -m -1 -x`'
alias fh='eval $(([ -n "$ZSH_NAME" ] && fc +c --no-mouse -m -1 -x -l 1 || history) | fzf +s | sed "s/ *[0-9]* *//")' alias fh='eval $(([ -n "$ZSH_NAME" ] && fc --no-mouse -m -1 -x -l 1 || history) | fzf +s | sed "s/ *[0-9]* *//")'
alias fkill='ps -ef | sed 1d | fzf +c --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}' alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}'
alias -s html="firefox" alias -s html="firefox"
alias -s log="less -MN" alias -s log="less -MN"
alias -g F='`fzf +c --no-mouse -m -1 -x`' alias -g F='`fzf --no-mouse -m -1 -x`'
alias -g nify=" > /dev/null 2>&1 &" alias -g nify=" > /dev/null 2>&1 &"
alias -g nifyd=" > /dev/null 2>&1 & disown" alias -g nifyd=" > /dev/null 2>&1 & disown"
alias -g G='|& egrep -i' alias -g G='|& egrep -i'
alias -g AW='austenwares.com' alias -g AW='austenwares.com'
export FZF_COMPLETION_OPTS='+c --no-mouse -m -1 -x' export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x'
function dnstest(){ function dnstest(){
echo "Testing ping:" echo "Testing ping:"
ping -c 2 8.8.8.8 ping -c 2 8.8.8.8