svxf at Wed Aug 8 13:28:18 MSK 2018
This commit is contained in:
@@ -3,68 +3,32 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
||||
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
||||
fi
|
||||
|
||||
unsetopt CORRECT
|
||||
# Now we can pipe to multiple outputs!
|
||||
setopt MULTIOS
|
||||
# This makes cd=pushd
|
||||
setopt AUTO_PUSHD
|
||||
# This will use named dirs when possible
|
||||
setopt AUTO_NAME_DIRS
|
||||
# If we have a glob this will expand it
|
||||
setopt GLOB_COMPLETE
|
||||
# use magic (this is default, but it can't hurt!)
|
||||
setopt ZLE
|
||||
# setopt NO_HUP
|
||||
# setopt IGNORE_EOF
|
||||
# If I could disable Ctrl-s completely I would!
|
||||
setopt NO_FLOW_CONTROL
|
||||
# unsetopt normstarsilent
|
||||
source ~/.zoptions
|
||||
|
||||
## Keep echo "station" > station from clobbering station
|
||||
#setopt NO_CLOBBER
|
||||
setopt CLOBBER
|
||||
source ~/.zalias
|
||||
|
||||
# No ! voodoo
|
||||
unsetopt bang_hist
|
||||
source ~/.zfunc
|
||||
|
||||
# Case insensitive globbing
|
||||
setopt NO_CASE_GLOB
|
||||
# Be Reasonable!
|
||||
setopt NUMERIC_GLOB_SORT
|
||||
# I don't know why I never set this before.
|
||||
setopt EXTENDED_GLOB
|
||||
# hows about arrays be awesome? (that is, frew${cool}frew has frew surrounding all the variables, not just first and last
|
||||
setopt RC_EXPAND_PARAM
|
||||
# disable running directory names
|
||||
unsetopt AUTO_CD
|
||||
|
||||
# return in functions if a command fails
|
||||
# setopt ERR_RETURN
|
||||
|
||||
|
||||
|
||||
# Who doesn't want home and end to work?
|
||||
bindkey '\e[1~' beginning-of-line
|
||||
bindkey '\e[4~' end-of-line
|
||||
|
||||
bindkey "\eOH" beginning-of-line
|
||||
bindkey "\eOF" end-of-line
|
||||
|
||||
|
||||
. ~/.zalias
|
||||
|
||||
# ----------------------------------- END ALIASES --------------------------------------------------
|
||||
export PATH="$HOME/bin/":$PATH
|
||||
export PATH="$HOME/work/arcadia/":$PATH
|
||||
|
||||
|
||||
if is_local; then
|
||||
export PATH="$HOME/brew/sbin":"$HOME/brew/bin":$PATH
|
||||
export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib"
|
||||
if [[ -s "$HOME/.iterm2_shell_integration.zsh" ]]; then
|
||||
source "$HOME/.iterm2_shell_integration.zsh"
|
||||
fi
|
||||
|
||||
add_dir_to_path "$HOME/bin"
|
||||
add_dir_to_path "$HOME/work/arcadia"
|
||||
|
||||
add_dir_to_path "$HOME/brew/sbin"
|
||||
add_dir_to_path "$HOME/brew/bin"
|
||||
|
||||
|
||||
# export PATH="$HOME/bin/":$PATH
|
||||
# export PATH="$HOME/work/arcadia/":$PATH
|
||||
|
||||
|
||||
# if is_local; then
|
||||
# export PATH="$HOME/brew/sbin":"$HOME/brew/bin":$PATH
|
||||
# export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib:/usr/local/cuda/lib"
|
||||
# fi
|
||||
|
||||
# update, background+disown
|
||||
update_.g &!
|
||||
|
||||
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
||||
|
||||
|
Reference in New Issue
Block a user