Skip to content

Commit

Permalink
Delta tweaks, generate completions
Browse files Browse the repository at this point in the history
  • Loading branch information
fortes committed Nov 12, 2024
1 parent 6256610 commit 0f120f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/generate_completions
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ generate_completions() {
SHELL=bash bun completions "${completion_dir}" > "${completion_dir}/bun.completion.bash"
fi

if command_exists delta; then
delta --generate-completion bash > "${completion_dir}/delta_completion"
fi

if command_exists deno; then
deno completions bash > "${completion_dir}/deno_completion"
fi
Expand Down
6 changes: 5 additions & 1 deletion stowed-files/git/.config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
whitespace = space-before-tab,tab-in-indent,blank-at-eof,trailing-space,tabwidth=2
[diff]
algorithm = minimal
colorMoved = default
tool = difftastic
[difftool]
prompt = false
Expand Down Expand Up @@ -83,7 +84,10 @@
process = git-lfs filter-process
required = true
[delta]
navigate = true # use n and N to move between diff sections
# use DELTA_FEATURES=+side-by-side env var for side-by-side diffs
line-numbers = true
navigate = true # use n and N to move between diff sections
tabs = 2
[include]
# Local modifications / auth
path = ~/.gitconfig.local

0 comments on commit 0f120f3

Please sign in to comment.