Working on my prompt
This commit is contained in:
parent
094d990bd0
commit
450b011cbd
3 changed files with 15 additions and 10 deletions
2
setup
2
setup
|
@ -119,7 +119,7 @@ then
|
|||
rm ~/.vimrc
|
||||
fi
|
||||
|
||||
ln -s $DOTFILES/vimrc ~/.vimrc
|
||||
ln -s $DOTFILES/vim/vimrc ~/.vimrc
|
||||
|
||||
# Pulls down and installs vim plugins
|
||||
DOTVIM=~/.vim
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
PROMPT='%{$fg[green]%}%*%{$reset_color%}:%{$fg[white]%}%n%{$reset_color%}@%{$fg[magenta]%}%m%{$reset_color%}:%{$fg_bold[blue]%}%~%{$fg[yellow]%}$(git_prompt_info)
|
||||
%{$fg[white]%}%# %{$reset_color%}'
|
||||
SEPARATOR="%{$FG[238]%} ✱ "
|
||||
TIME="%{$FG[028]%}%D{%H}%{$FG[022]%}:%{$FG[028]%}%D{%M}%{$FG[022]%}:%{$FG[028]%}%D{%S}"
|
||||
USER="%{$FG[244]%}%n%{$FG[248]%}@%{$fg[magenta]%}%m"
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" (%{$fg_bold[yellow]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$fg_bold[yellow]%})%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}✔%{$fg_bold[yellow]%})%{$reset_color%}"
|
||||
PROMPT='
|
||||
%{$TIME%}%{$SEPARATOR%}%{$USER%}%{$SEPARATOR%}%{$fg_bold[blue]%}%~$(git_prompt_info)
|
||||
%{$FG[244]%}%# %{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$FG[011]%}("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=""
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=") %{$fg[red]%}✗%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=") %{$FG[028]%}✔%{$reset_color%}"
|
||||
|
|
|
@ -6,7 +6,7 @@ ZSH_THEME="joshtronic"
|
|||
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
plugins=(brew git nyan osx vi-mode)
|
||||
plugins=(brew git osx)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
@ -94,7 +94,7 @@ then
|
|||
alias v='mvim -v'
|
||||
alias vd="mvimdiff -v"
|
||||
alias vo="mvim -v -O"
|
||||
|
||||
|
||||
# Tell ls to be colourful
|
||||
export CLICOLOR=1
|
||||
export LSCOLORS=Exfxcxdxbxegedabagacad
|
||||
|
@ -108,7 +108,7 @@ else
|
|||
alias v="vim"
|
||||
alias vd="vimdiff"
|
||||
alias vo="vim -O"
|
||||
|
||||
|
||||
export PATH="$HOME/Source/bash:$PATH"
|
||||
export EDITOR=vim
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue