Fixed issues

This commit is contained in:
Austen Adler 2015-01-03 00:34:38 -05:00
parent 0ca00f32c0
commit 02b454f21a
2 changed files with 9 additions and 7 deletions

View File

@ -11,7 +11,7 @@ while getopts ":hbsdpcw" VALUE "$@"; do
echo " -w Installs wemux [requires vim]" echo " -w Installs wemux [requires vim]"
fi fi
if [ "$VALUE" = "b" ] ; then if [ "$VALUE" = "b" ] ; then
rm ~/.vimrc trash ~/.vimrc || rm ~/.vimrc
ln -s $ABSPATH/vim/vimrc ~/.vimrc ln -s $ABSPATH/vim/vimrc ~/.vimrc
vim +"silent! call Initialize()" +q vim +"silent! call Initialize()" +q
fi fi
@ -59,11 +59,11 @@ while getopts ":hbsdpcw" VALUE "$@"; do
ln -s $ABSPATH/vimperator/vimPgray.vimp ~/.vimperator/colors/vimPgray.vimp ln -s $ABSPATH/vimperator/vimPgray.vimp ~/.vimperator/colors/vimPgray.vimp
ln -s $ABSPATH/git/gitconfig ~/.gitconfig ln -s $ABSPATH/git/gitconfig ~/.gitconfig
ln -s $ABSPATH/shells/bashrc ~/.bashrc ln -s $ABSPATH/shells/bashrc ~/.bashrc
ln -s $ABSPATH/shells/zshrc ~/.zshrc
if [ ! -d ~/.fzf ] ; then if [ ! -d ~/.fzf ] ; then
git clone https://github.com/stonewareslord/fzf.git ~/.fzf git clone https://github.com/stonewareslord/fzf.git ~/.fzf
~/.fzf/install -y ~/.fzf/install -y
fi fi
ln -s $ABSPATH/shells/zshrc ~/.zshrc
if [ ! -d ~/.antigen ] ; then if [ ! -d ~/.antigen ] ; then
git clone https://github.com/zsh-users/antigen ~/.antigen git clone https://github.com/zsh-users/antigen ~/.antigen
fi fi

View File

@ -1,4 +1,4 @@
export ZSH=$HOME/.oh-my-zsh export ZSH=/home/stonewareslord/.antigen/repos/https-COLON--SLASH--SLASH-github.com-SLASH-robbyrussell-SLASH-oh-my-zsh.git
ZSH_THEME="af-magic" ZSH_THEME="af-magic"
# Uncomment the following line to enable command auto-correction. # Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true" # ENABLE_CORRECTION="true"
@ -21,6 +21,7 @@ antigen bundle stonewareslord/oh-my-git
antigen use oh-my-zsh antigen use oh-my-zsh
antigen theme stonewareslord/oh-my-git-themes af-magic antigen theme stonewareslord/oh-my-git-themes af-magic
antigen bundle stonewareslord/liquidprompt antigen bundle stonewareslord/liquidprompt
antigen bundle zsh-users/zsh-completions src
antigen apply antigen apply
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
@ -55,10 +56,11 @@ alias tmux='tmux -2'
alias tree='tree -C' alias tree='tree -C'
#alias grep="egrep -i --color=auto" #alias grep="egrep -i --color=auto"
alias skim="(head -5; tail -5) <" alias skim="(head -5; tail -5) <"
alias cp="rsync -ha --info=progress2" function cp() { rsync -ha --info=progress2 "$@" }
alias mv="mv -v" function c() { cp "$@" }
alias m="mv" function mv() { /bin/mv -v "$@" }
alias c="cp" function m() { mv "$@" }
compdef _cp c m mv cp
alias la='ls -lah $LS_COLOR' alias la='ls -lah $LS_COLOR'
alias dt='date "+%F %T"' alias dt='date "+%F %T"'
alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done' alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done'