mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Add my theme and setup a ZSH_CUSTOM directory.
This commit is contained in:
1
zsh_custom/themes/matir.zsh-theme
Normal file
1
zsh_custom/themes/matir.zsh-theme
Normal file
@@ -0,0 +1 @@
|
|||||||
|
PROMPT="%{%(!.$fg[red].$fg[green])%}%n%{$fg[white]%}@%{$fg[cyan]%}%m%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[white]%}%#%{$reset_color%} "
|
||||||
9
zshrc
9
zshrc
@@ -32,17 +32,10 @@ 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"
|
||||||
ORIG_PS1="${PS1}"
|
ZSH_CUSTOM="$HOME/.dotfiles/zsh_custom"
|
||||||
if [[ ! -a $ZSH/themes/$ZSH_THEME ]] ; then
|
|
||||||
ZSH_THEME=""
|
|
||||||
fi
|
|
||||||
plugins=(git encode64 gpg-agent pep8 pip python tmux urltools extract sudo)
|
plugins=(git encode64 gpg-agent pep8 pip python tmux urltools extract sudo)
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
unset ZSH_THEME
|
unset ZSH_THEME
|
||||||
if [[ "$PS1" == "%n@%m:%~%# " ]] ; then
|
|
||||||
PS1="${ORIG_PS1}"
|
|
||||||
fi
|
|
||||||
unset ORIG_PS1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Keybindings
|
# Keybindings
|
||||||
|
|||||||
Reference in New Issue
Block a user