Chnages to bash
This commit is contained in:
24
config/zshrc
24
config/zshrc
@ -1,7 +1,22 @@
|
||||
# Lines configured by zsh-newuser-install
|
||||
# Record each line as it gets issued
|
||||
# PROMPT_COMMAND='history -a'
|
||||
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r"
|
||||
|
||||
# Huge history. Doesn't appear to slow things down, so why not?
|
||||
HISTSIZE=500000
|
||||
SAVEHIST=500000
|
||||
HISTFILESIZE=100000
|
||||
|
||||
# Avoid duplicate entries
|
||||
HISTCONTROL="erasedups:ignoreboth"
|
||||
|
||||
# Don't record some commands
|
||||
export HISTIGNORE="&:[ ]*:exit:ls:bg:fg:history:clear"
|
||||
|
||||
# Useful timestamp format
|
||||
HISTTIMEFORMAT='%F %T '
|
||||
HISTFILE=~/.histfile
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
setopt autocd extendedglob
|
||||
unsetopt beep
|
||||
bindkey -v
|
||||
@ -22,9 +37,6 @@ ZSH_HIGHLIGHT_STYLES=(cursor bold)
|
||||
|
||||
export EDITOR=nvim
|
||||
export PATH="$HOME/bin:/usr/local/bin:$PATH"
|
||||
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
||||
# export PATH=/usr/local/MATLAB/R2015b/bin:/usr/local/MATLAB/R2015b/toolbox/local:$PATH
|
||||
export PATH=/usr/local/MATLAB/R2016a/bin:/usr/local/MATLAB/R2016a/toolbox/local:$PATH
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user