append path for macos and add $HOME/.cargo/bin to $PATH
This commit is contained in:
parent
89428200e0
commit
ab40e9ced3
4
.bashrc
4
.bashrc
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue