Skip to content

Instantly share code, notes, and snippets.

@alansvits
Last active September 9, 2024 09:44
Show Gist options
  • Save alansvits/8dab12868757cde4474cc46e33305289 to your computer and use it in GitHub Desktop.
Save alansvits/8dab12868757cde4474cc46e33305289 to your computer and use it in GitHub Desktop.
dotfiles excerpt
[core]
pager = delta
[interactive]
diffFilter = delta --color-only --features=interactive
[delta]
features = decorations
[delta "interactive"]
keep-plus-minus-markers = false
[delta "decorations"]
commit-decoration-style = blue ol
commit-style = raw
file-style = omit
hunk-header-decoration-style = blue box
hunk-header-file-style = red
hunk-header-line-number-style = "#067a00"
hunk-header-style = file line-number syntax
[delta]
line-numbers = true
ZSH_THEME=agkozak
# theme customization https://github.com/agkozak/agkozak-zsh-prompt
AGKOZAK_USER_HOST_DISPLAY=0
AGKOZAK_PROMPT_CHAR=(%B$%b $# : )
AGKOZAK_COLORS_PATH=green
AGKOZAK_COLORS_PROMPT_CHAR=green
# https://github.com/agkozak/agkozak-zsh-prompt?tab=readme-ov-file#gnumoksha
AGKOZAK_COLORS_BRANCH_STATUS=243
AGKOZAK_LEFT_PROMPT_ONLY=1
# The prompt character is always $
# AGKOZAK_PROMPT_CHAR=( '$' '$' '$' )
# Display the time in the right prompt
AGKOZAK_CUSTOM_RPROMPT='%D{%Y-%m-%d}%F{244}T%*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment