changing prompt

This commit is contained in:
Noah Masur 2020-11-23 18:13:50 -05:00
parent 9ea394dedd
commit 8656d38462
2 changed files with 9 additions and 2 deletions

View File

@ -22,9 +22,11 @@ function aliases --description 'All aliases'
abbr -a gl 'git log --graph --decorate --oneline -20'
abbr -a gll 'git log --graph --decorate --oneline'
abbr -a gco 'git checkout'
abbr -a gcom 'git checkout master'
abbr -a gcob 'git checkout -b'
abbr -a gb 'git branch'
abbr -a grh 'git reset --hard'
abbr -a gm 'git merge'
abbr -a ghb 'gh repo view -w'
# Vim

View File

@ -2,6 +2,8 @@
add_newline = false
format = """\
$directory\
$git_branch\
$git_commit \
$character\
"""
@ -13,8 +15,11 @@ truncate_to_repo = true
truncation_length = 100
[git_branch]
truncation_length = 1
truncation_symbol = ""
format = "[$symbol$branch]($style)"
[git_commit]
commit_has_length = 7
format = "[\\($hash\\)]($style)"
[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'