1
0
Fork 0

append path for macos and add $HOME/.cargo/bin to $PATH

This commit is contained in:
Pratham Patel 2023-10-19 15:06:23 +05:30
parent 89428200e0
commit ab40e9ced3
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 3 additions and 1 deletions

View File

@ -29,13 +29,15 @@ if [[ "$(uname)" == 'Darwin' ]]; then
case ":$PATH:" in
*":/usr/local/bin:"*) :;; # already there
*) PATH="/usr/local/bin:$PATH";; # absent, so add
*) PATH="$PATH:/usr/local/bin";; # absent, so add
esac
alias ktb="sudo pkill TouchBarServer; sudo killall ControlStrip"
alias mpv="mpv --vo=libmpv"
fi
export PATH="$PATH:$HOME/.cargo/bin"
alias showdiskusage="bash ${HOME}/.local/scripts/other-common-scripts/show-disk-usage.sh"
alias dotfiles="git --git-dir=${HOME}/.dotfiles --work-tree=${HOME}"
alias prettynixbuild="nix build --log-format internal-json -v . 2>&1 | nom --json"