Skip to content

Commit

Permalink
config(zsh): shell completion for delta and just
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Aug 30, 2024
1 parent 22445ae commit bce05d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions data/zsh/bottom-zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ if command -v kitten &>/dev/null; then
alias kssh="kitten ssh"
fi

# https://github.com/dandavison/delta
if command -v delta &>/dev/null; then
alias da="delta"
eval "$(delta --generate-completion zsh)"
fi

# https://github.com/wilfred/difftastic
if command -v difft &>/dev/null; then
export DFT_DISPLAY=inline
Expand Down Expand Up @@ -139,6 +145,7 @@ fi
# https://github.com/casey/just
if command -v just &>/dev/null; then
alias jst="just"
eval "$(just --completions zsh)"
fi

# https://github.com/crate-ci/typos
Expand Down

0 comments on commit bce05d0

Please sign in to comment.