Compare commits

..

3 commits

Author SHA1 Message Date
dabruh
1c12a125db Adjust VSC aliases 2023-11-29 09:51:47 +01:00
dabruh
def24f0ce4 Replace dunk with difftastic 2023-11-29 09:46:08 +01:00
dabruh
05e1ba8a37 Set term 2023-11-29 09:37:10 +01:00
4 changed files with 22 additions and 6 deletions

View file

@ -1,5 +1,6 @@
# Reference: https://sw.kovidgoyal.net/kitty/conf/ # Reference: https://sw.kovidgoyal.net/kitty/conf/
term xterm-256color
font_family hack font_family hack
scrollback_lines 100000 scrollback_lines 100000
mouse_hide_wait 3.0 mouse_hide_wait 3.0

View file

@ -22,10 +22,11 @@ alias \
alias \ alias \
w="curl https://wttr.in/" w="curl https://wttr.in/"
for cmd in code codium; do alias code="code --password-store='gnome'"
command -v $cmd >/dev/null && alias $cmd="$cmd --password-store='gnome'" if command -v codium >/dev/null; then
done alias code="codium --password-store='gnome'"
command -v codium >/dev/null && alias c=code fi
alias c=code
command -v pacman >/dev/null && alias p=pacman command -v pacman >/dev/null && alias p=pacman
command -v zathura >/dev/null && alias z=zathura command -v zathura >/dev/null && alias z=zathura

View file

@ -7,7 +7,8 @@
st = status -sb st = status -sb
stat = !git --no-pager diff --stat stat = !git --no-pager diff --stat
sw = switch sw = switch
dunk = !git diff | dunk dft = difftool
dlog = "!f() { GIT_EXTERNAL_DIFF=difft git log -p --ext-diff; }; f"
[pull] [pull]
rebase = true rebase = true
@ -21,5 +22,17 @@
[gitreview] [gitreview]
remote = origin remote = origin
[diff]
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[include] [include]
path = ~/.config/git/.gitconfig path = ~/.config/git/.gitconfig

View file

@ -31,6 +31,7 @@ code-any:deerawan.vscode-faker # Misc
brew-any:kubectl helm shellcheck velero derailed/k9s/k9s fluxcd/tap/flux # Kubernetes related brew-any:kubectl helm shellcheck velero derailed/k9s/k9s fluxcd/tap/flux # Kubernetes related
brew-any:zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting # ZSH related brew-any:zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting # ZSH related
brew-host-5cg9521pyj:weaveworks/tap/gitops azure/kubelogin/kubelogin azure-cli git-review brew-any:difftastic # Git related
brew-host-5cg9521pyj:weaveworks/tap/gitops azure/kubelogin/kubelogin azure-cli git-review # Work related
krew-any:ctx krew ns slice stern tree krew-any:ctx krew ns slice stern tree