mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-16 11:57:23 +00:00
Change prompt git check; Remove vim ctrl-w alias and vimwiki index remap
This commit is contained in:
parent
47d96cda20
commit
906de36bbc
4 changed files with 7 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue