feat(zsh): drop "vim prompt"
I once was lost, but now I'm found. Original issue where I would forget if I was inside of a shell inside of `vim` has been pretty much nullified as I rarely use terminals inside of `nvim` and when I do, it's quite obvious that I'm inside of a shell that's inside of `vim` and not obscured like it was in the `:sh[ell]` days.
This commit is contained in:
parent
9b1b67ac41
commit
70dfbb6d9e
1 changed files with 1 additions and 7 deletions
8
zshrc
8
zshrc
|
@ -58,14 +58,8 @@ git_prompt() {
|
|||
fi
|
||||
}
|
||||
|
||||
vim_prompt() {
|
||||
if [ ! -z $VIMRUNTIME ]; then
|
||||
echo ":%F{green}sh ";
|
||||
fi
|
||||
}
|
||||
|
||||
PS1='
|
||||
$(vim_prompt)%F{blue}%~$(git_prompt)
|
||||
%F{blue}%~$(git_prompt)
|
||||
%F{244}%# %F{reset}'
|
||||
|
||||
source $HOME/.fzf.zsh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue