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]"
fi
if [ "$VALUE" = "b" ] ; then
rm ~/.vimrc
trash ~/.vimrc || rm ~/.vimrc
ln -s $ABSPATH/vim/vimrc ~/.vimrc
vim +"silent! call Initialize()" +q
fi
@ -59,11 +59,11 @@ while getopts ":hbsdpcw" VALUE "$@"; do
ln -s $ABSPATH/vimperator/vimPgray.vimp ~/.vimperator/colors/vimPgray.vimp
ln -s $ABSPATH/git/gitconfig ~/.gitconfig
ln -s $ABSPATH/shells/bashrc ~/.bashrc
ln -s $ABSPATH/shells/zshrc ~/.zshrc
if [ ! -d ~/.fzf ] ; then
git clone https://github.com/stonewareslord/fzf.git ~/.fzf
~/.fzf/install -y
fi
ln -s $ABSPATH/shells/zshrc ~/.zshrc
if [ ! -d ~/.antigen ] ; then
git clone https://github.com/zsh-users/antigen ~/.antigen
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"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
@ -21,6 +21,7 @@ antigen bundle stonewareslord/oh-my-git
antigen use oh-my-zsh
antigen theme stonewareslord/oh-my-git-themes af-magic
antigen bundle stonewareslord/liquidprompt
antigen bundle zsh-users/zsh-completions src
antigen apply
# Would you like to use another custom folder than $ZSH/custom?
@ -55,10 +56,11 @@ alias tmux='tmux -2'
alias tree='tree -C'
#alias grep="egrep -i --color=auto"
alias skim="(head -5; tail -5) <"
alias cp="rsync -ha --info=progress2"
alias mv="mv -v"
alias m="mv"
alias c="cp"
function cp() { rsync -ha --info=progress2 "$@" }
function c() { cp "$@" }
function mv() { /bin/mv -v "$@" }
function m() { mv "$@" }
compdef _cp c m mv cp
alias la='ls -lah $LS_COLOR'
alias dt='date "+%F %T"'
alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done'