diff --git a/init-zsh.sh b/init-zsh.sh index 3816222..70ad444 100755 --- a/init-zsh.sh +++ b/init-zsh.sh @@ -2,11 +2,18 @@ git clone --recursive https://github.com/changs/slimzsh.git ~/.slimzsh +git clone https://github.com/dakra/ghostel.git /tmp/ghostel +cp /tmp/ghostel/etc/ghostel.zsh ~/.ghostel.zsh +rm -fr /tmp/ghostel + cat < $HOME/.zshrc HISTSIZE=10000 SAVEHIST=10000 [[ \$TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return [[ \$TERM =~ "eterm" ]] && INSIDE_EMACS=yes +# zsh (~/.zshrc) +[[ "$INSIDE_EMACS" = 'ghostel' ]] && \ + source "$HOME/.ghostel.zsh" zstyle ':prompt:pure:user:root' color red zstyle ':prompt:pure:host' color cyan source "$HOME/.slimzsh/slim.zsh"