mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Selectively enable oh-my-zsh.
This commit is contained in:
12
zshrc
12
zshrc
@@ -2,7 +2,7 @@
|
|||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
SAVEHIST=1000
|
SAVEHIST=1000
|
||||||
setopt appendhistory autocd autopushd extendedglob nomatch
|
setopt appendhistory autocd autopushd extendedglob nohup nomatch
|
||||||
unsetopt beep
|
unsetopt beep
|
||||||
bindkey -e
|
bindkey -e
|
||||||
# End of lines configured by zsh-newuser-install
|
# End of lines configured by zsh-newuser-install
|
||||||
@@ -13,7 +13,6 @@ autoload -Uz compinit
|
|||||||
compinit
|
compinit
|
||||||
# End of lines added by compinstall
|
# End of lines added by compinstall
|
||||||
|
|
||||||
setopt nohup autopushd
|
|
||||||
DIRSTACKSIZE=16
|
DIRSTACKSIZE=16
|
||||||
case $TERM in
|
case $TERM in
|
||||||
xterm*)
|
xterm*)
|
||||||
@@ -24,6 +23,15 @@ esac
|
|||||||
PS1='%n@%m:%32<...<%~%<<%# '
|
PS1='%n@%m:%32<...<%~%<<%# '
|
||||||
|
|
||||||
. ~/.profile
|
. ~/.profile
|
||||||
|
# Deduplicate the path
|
||||||
typeset -U path
|
typeset -U path
|
||||||
|
|
||||||
alias ls='ls --color'
|
alias ls='ls --color'
|
||||||
|
|
||||||
|
# Load oh-my-zsh
|
||||||
|
if [ -d $HOME/.oh-my-zsh ] ; then
|
||||||
|
ZSH=$HOME/.oh-my-zsh
|
||||||
|
ZSH_THEME="matir"
|
||||||
|
plugins=(git)
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user