mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Fix up prompt, oh-my-zsh modules.
This commit is contained in:
8
zshrc
8
zshrc
@@ -9,8 +9,7 @@ bindkey -e
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/david/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
autoload -Uz compinit && compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
DIRSTACKSIZE=16
|
||||
@@ -20,7 +19,8 @@ case $TERM in
|
||||
;;
|
||||
esac
|
||||
|
||||
PS1='%n@%m:%32<...<%~%<<%# '
|
||||
autoload -U colors && colors
|
||||
PS1="%{%(!.$fg[red].$fg[green])%}%n%{$fg[white]%}@%{$fg[cyan]%}%m%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[white]%}%#%{$reset_color%} "
|
||||
|
||||
. ~/.profile
|
||||
# Deduplicate the path
|
||||
@@ -32,6 +32,6 @@ alias ls='ls --color'
|
||||
if [ -d $HOME/.oh-my-zsh ] ; then
|
||||
ZSH=$HOME/.oh-my-zsh
|
||||
ZSH_THEME="matir"
|
||||
plugins=(git)
|
||||
plugins=(git encode64 gpg-agent pep8 pip python tmux urltools)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user