1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh if command -v git >/dev/null 2>&1; then if command -v hub >/dev/null 2>&1; then alias git="hub" fi alias g="git" if command -v delta >/dev/null 2>&1; then export GIT_PAGER="delta" fi fi
Consider giving Nix/NixOS a try! <3