Change prompt git check; Remove vim ctrl-w alias and vimwiki index remap

This commit is contained in:
mitchell 2020-02-13 08:25:24 -05:00
parent 47d96cda20
commit 906de36bbc
4 changed files with 7 additions and 3 deletions

View file

@ -61,7 +61,7 @@ function fish_prompt --description 'Write out the prompt'
if test -n "$SSH_CLIENT"; set user_prefix $USER @ (prompt_hostname) ' '; end
# Show current git branch, based on git commands only.
if test -e ./.git; and command -sq git
if git status > /dev/null 2>&1
set -l branch_color green
set -l git_status (git status)