Skip to content

Commit

Permalink
GNU diff with side-by-side is better for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 11, 2023
1 parent e4f1020 commit 01fed04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .config/nushell/config.nu
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,8 @@ def nhb [] {
^$"($env.HOME)/go/bin/nix-headbump"
}

alias betterdiff = diff --side-by-side --color

# https://github.com/starship/starship/tree/0cffd59b72adbc4c2c33d6bb14dbca170c775fc4#step-2-setup-your-shell-to-use-starship
source ~/.cache/starship/init.nu

Expand Down
3 changes: 3 additions & 0 deletions home/.aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ alias git-cleanup-branches='git-switch-default && git pull $(git-upsteram) $(git
alias la='exa --long --all --group-directories-first'

alias zj='zellij attach "$(basename "$PWD")" || zellij --session "$(basename "$PWD")"'

# If you want line numbers in the side-by-side, consider to use delta
alias betterdiff='diff --side-by-side --color'

0 comments on commit 01fed04

Please sign in to comment.