l
This commit is contained in:
parent
2b6e2e65de
commit
008e1d864b
@ -68,3 +68,4 @@ pm-utils
|
||||
alsa-utils
|
||||
numlockx
|
||||
virtualbox
|
||||
x11vnc
|
||||
|
@ -71,6 +71,9 @@ while getopts ":hbsdtclw" VALUE "$@"; do
|
||||
if [ ! -f ~/.oh-my-zsh/oh-my-zsh.sh ] ; then
|
||||
curl -L http://install.ohmyz.sh | sh
|
||||
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/screenrc ~/.screenrc
|
||||
ln -s $ABSPATH/shells/Xresources ~/.Xresources
|
||||
|
@ -3,7 +3,7 @@ xterm*vt100*geometry: 80x60
|
||||
xterm*saveLines: 16384
|
||||
xterm*loginShell: true
|
||||
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
|
||||
|
||||
*VT100*Translations: #override \
|
||||
|
10
shells/zshrc
10
shells/zshrc
@ -82,17 +82,17 @@ alias vpn="cd ~/.openvpn;sudo openvpn config.ovpn;cd -"
|
||||
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 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 fh='eval $(([ -n "$ZSH_NAME" ] && fc +c --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 fk='k `fzf --no-mouse -m -1 -x`'
|
||||
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 --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}'
|
||||
alias -s html="firefox"
|
||||
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 nifyd=" > /dev/null 2>&1 & disown"
|
||||
alias -g G='|& egrep -i'
|
||||
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(){
|
||||
echo "Testing ping:"
|
||||
ping -c 2 8.8.8.8
|
||||
|
Loading…
Reference in New Issue
Block a user