mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Make the prompt look nicer in my theme.
This commit is contained in:
@@ -1 +1,3 @@
|
||||
PROMPT="%{%(!.$fg[red].$fg[green])%}%n%{$fg[white]%}@%{$fg[cyan]%}%m%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[white]%}%#%{$reset_color%} "
|
||||
PROMPT='%{%(!.$fg[red].$fg[green])%}%8>..>%n%>>%{$fg[white]%}@%{$fg[blue]%}%12>..>%m%>>%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[blue]%}$(git_prompt_info)%{$fg[white]%}%#%{$reset_color%} '
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" ("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
||||
|
||||
5
zshrc
5
zshrc
@@ -32,7 +32,7 @@ alias ls='ls --color'
|
||||
if [ -d $HOME/.oh-my-zsh ] ; then
|
||||
ZSH=$HOME/.oh-my-zsh
|
||||
ZSH_THEME="matir"
|
||||
ZSH_CUSTOM="$HOME/.dotfiles/zsh_custom"
|
||||
ZSH_CUSTOM="$HOME/.zsh_custom"
|
||||
plugins=(git encode64 gpg-agent pep8 pip python tmux urltools extract sudo)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
unset ZSH_THEME
|
||||
@@ -43,3 +43,6 @@ bindkey '^[[A' history-search-backward
|
||||
bindkey '^[[B' history-search-forward
|
||||
bindkey '^[[1;5C' forward-word
|
||||
bindkey '^[[1;5D' backward-word
|
||||
|
||||
# Load any local settings
|
||||
if [ -e $HOME/.zsh_local ] ; then source $HOME/.zsh_local ; fi
|
||||
|
||||
Reference in New Issue
Block a user