zsh-syntax fix and cleanups
This commit is contained in:
parent
ed06dd9f0f
commit
79e416b728
1 changed files with 7 additions and 32 deletions
39
.zshrc
39
.zshrc
|
|
@ -51,13 +51,6 @@ DISABLE_AUTO_UPDATE="true"
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(colored-man)
|
plugins=(colored-man)
|
||||||
|
|
||||||
# User configuration
|
|
||||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
|
|
||||||
if [ -e ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]
|
|
||||||
then
|
|
||||||
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Extend my $PATH to $PATH/bin
|
# Extend my $PATH to $PATH/bin
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH:$HOME/bin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH:$HOME/bin
|
||||||
|
|
||||||
|
|
@ -65,35 +58,17 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH:$HOME/bin
|
||||||
HISTSIZE=100000
|
HISTSIZE=100000
|
||||||
SAVEHIST=100000
|
SAVEHIST=100000
|
||||||
HISTFILE=~/.zsh_history
|
HISTFILE=~/.zsh_history
|
||||||
|
|
||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
|
# Load oh-my-zsh stuff
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
# Stuff thats needs to be done after sourcing oh-my-zsh
|
||||||
# export LANG=en_US.UTF-8
|
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
|
||||||
|
if [ -e ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]
|
||||||
# Preferred editor for local and remote sessions
|
then
|
||||||
# if [[ -n $SSH_CONNECTION ]]; then
|
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
# export EDITOR='vim'
|
fi
|
||||||
# else
|
|
||||||
# export EDITOR='mvim'
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# Compilation flags
|
|
||||||
# export ARCHFLAGS="-arch x86_64"
|
|
||||||
|
|
||||||
# ssh
|
|
||||||
# export SSH_KEY_PATH="~/.ssh/dsa_id"
|
|
||||||
|
|
||||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
|
||||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
|
||||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
|
||||||
# For a full list of active aliases, run `alias`.
|
|
||||||
#
|
|
||||||
# Example aliases
|
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
|
||||||
|
|
||||||
# Now source some stuff that should not be public
|
# Now source some stuff that should not be public
|
||||||
if [ -e ~/.zshprivate ]
|
if [ -e ~/.zshprivate ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue