added zeptorc
This commit is contained in:
Submodule .vim/bundle/zepto-vim updated: e24696285e...e096a64c81
5
Makefile
5
Makefile
@@ -1,4 +1,4 @@
|
|||||||
all: bash ghc git input python scripts tmux valgrind vim zsh
|
all: bash ghc git input python scripts tmux valgrind vim zepto zsh
|
||||||
|
|
||||||
bash:
|
bash:
|
||||||
cp bash_profile ~/.bash_profile
|
cp bash_profile ~/.bash_profile
|
||||||
@@ -31,6 +31,9 @@ vim:
|
|||||||
cp vimrc ~/.vimrc
|
cp vimrc ~/.vimrc
|
||||||
cp -r .vim ~/.vim
|
cp -r .vim ~/.vim
|
||||||
|
|
||||||
|
zsh:
|
||||||
|
cp zeptorc ~/.zeptorc
|
||||||
|
|
||||||
zsh:
|
zsh:
|
||||||
cp zshrc ~/.zshrc
|
cp zshrc ~/.zshrc
|
||||||
cp pip-upgrade ~/.pip-upgrade
|
cp pip-upgrade ~/.pip-upgrade
|
||||||
|
15
zshrc
15
zshrc
@@ -22,7 +22,7 @@ export GOPATH=~/.go
|
|||||||
export GOBIN=$GOPATH/bin
|
export GOBIN=$GOPATH/bin
|
||||||
export GHC_HOME=/usr/local/bin
|
export GHC_HOME=/usr/local/bin
|
||||||
export CABAL_HOME=$HOME/.cabal/
|
export CABAL_HOME=$HOME/.cabal/
|
||||||
export PATH=$GHC_HOME:$CABAL_HOME/bin:$PATH:/opt/local/bin:/usr/local/sbin:~/.cabal/bin:$GOBIN
|
export PATH=$GHC_HOME:$CABAL_HOME/bin:$PATH:/opt/local/bin:/usr/local/sbin:~/.cabal/bin:/usr/local/opt/llvm/bin:$GOBIN
|
||||||
export MANPATH=$MANPATH:/opt/local/share/man:/usr/local/opt/erlang/lib/erlang/man
|
export MANPATH=$MANPATH:/opt/local/share/man:/usr/local/opt/erlang/lib/erlang/man
|
||||||
export INFOPATH=$INFOPATH:/opt/local/share/info
|
export INFOPATH=$INFOPATH:/opt/local/share/info
|
||||||
export PYTHONSTARTUP=~/.pythonrc
|
export PYTHONSTARTUP=~/.pythonrc
|
||||||
@@ -77,7 +77,7 @@ alias tmv="tmux split-window"
|
|||||||
alias tmh="tmux split-window -h"
|
alias tmh="tmux split-window -h"
|
||||||
alias tms="tmux select-pane -t"
|
alias tms="tmux select-pane -t"
|
||||||
alias tmk="killall tmux; tmux"
|
alias tmk="killall tmux; tmux"
|
||||||
PROMPT="%{$fg[green]%}<%{$fg[red]%}%n%{$reset_color%}@%{$fg[green]%}%m%{$fg[green]%}>%{$reset_color%} "
|
PROMPT="%{$fg[red]%}%n%{$reset_color%} at %{$fg[green]%}%m%{$fg[green]%}%{$reset_color%}"$'\n'"=> "
|
||||||
|
|
||||||
expand-or-complete-with-dots(){
|
expand-or-complete-with-dots(){
|
||||||
echo -n "e[31m.....\e[0m"
|
echo -n "e[31m.....\e[0m"
|
||||||
@@ -133,23 +133,23 @@ function rprompt-git-current-branch {
|
|||||||
color=%B%F{blue}
|
color=%B%F{blue}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$color$name$action%f%b "
|
echo "on $color$name$action%f%b "
|
||||||
}
|
}
|
||||||
|
|
||||||
function cabal_sandbox_info() {
|
function cabal_sandbox_info() {
|
||||||
cabal_files=(*.cabal(N))
|
cabal_files=(*.cabal(N))
|
||||||
if [ $#cabal_files -gt 0 ]; then
|
if [ $#cabal_files -gt 0 ]; then
|
||||||
if [ -f cabal.sandbox.config ]; then
|
if [ -f cabal.sandbox.config ]; then
|
||||||
echo "%{$fg[green]%}sandboxed%{$reset_color%}"
|
echo " is %{$fg[green]%}sandboxed%{$reset_color%}"
|
||||||
else
|
else
|
||||||
echo "%{$fg[red]%}not sandboxed%{$reset_color%}"
|
echo " is %{$fg[red]%}not sandboxed%{$reset_color%}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
RPROMPT='`rprompt-git-current-branch`'
|
RPROMPT='`rprompt-git-current-branch`'
|
||||||
RPROMPT+="%{$fg[yellow]%}%~%{$reset_color%}"
|
RPROMPT+="in %{$fg[yellow]%}%~%{$reset_color%}"
|
||||||
RPROMPT+=' `cabal_sandbox_info`'
|
RPROMPT+='`cabal_sandbox_info`'
|
||||||
|
|
||||||
function ghc-pkg-reset() {
|
function ghc-pkg-reset() {
|
||||||
read 'ans?erasing all your user ghc and cabal packages - are you sure (y/n) ? '
|
read 'ans?erasing all your user ghc and cabal packages - are you sure (y/n) ? '
|
||||||
@@ -222,6 +222,7 @@ save_dotfiles(){
|
|||||||
cp ~/.tmux.conf ${DOTPATH}tmux.conf
|
cp ~/.tmux.conf ${DOTPATH}tmux.conf
|
||||||
cp ~/.valgrindrc ${DOTPATH}valgrindrc
|
cp ~/.valgrindrc ${DOTPATH}valgrindrc
|
||||||
cp ~/.vimrc ${DOTPATH}vimrc
|
cp ~/.vimrc ${DOTPATH}vimrc
|
||||||
|
cp ~/.zeptorc ${DOTPATH}zeptorc
|
||||||
cp ~/.zshrc ${DOTPATH}zshrc
|
cp ~/.zshrc ${DOTPATH}zshrc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user