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
|
# The following lines were added by compinstall
|
||||||
zstyle :compinstall filename '/home/david/.zshrc'
|
zstyle :compinstall filename '/home/david/.zshrc'
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit && compinit
|
||||||
compinit
|
|
||||||
# End of lines added by compinstall
|
# End of lines added by compinstall
|
||||||
|
|
||||||
DIRSTACKSIZE=16
|
DIRSTACKSIZE=16
|
||||||
@@ -20,7 +19,8 @@ case $TERM in
|
|||||||
;;
|
;;
|
||||||
esac
|
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
|
. ~/.profile
|
||||||
# Deduplicate the path
|
# Deduplicate the path
|
||||||
@@ -32,6 +32,6 @@ alias ls='ls --color'
|
|||||||
if [ -d $HOME/.oh-my-zsh ] ; then
|
if [ -d $HOME/.oh-my-zsh ] ; then
|
||||||
ZSH=$HOME/.oh-my-zsh
|
ZSH=$HOME/.oh-my-zsh
|
||||||
ZSH_THEME="matir"
|
ZSH_THEME="matir"
|
||||||
plugins=(git)
|
plugins=(git encode64 gpg-agent pep8 pip python tmux urltools)
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user