.zsh_aliases: usr local sbin is a macOS (homebrew) specific PATH dir
This commit is contained in:
parent
7c55b820d7
commit
e8a4944a11
|
@ -1,7 +1,6 @@
|
|||
export TIMEFMT=$'\nJob\t%J\n\nCPU\t%P\nuser\t%U\nsystem\t%S\ntotal\t%E'
|
||||
[[ -d "$HOME/.cargo/bin" ]] && export PATH=$HOME/.cargo/bin:$PATH
|
||||
[[ -d "$HOME/.local/bin" ]] && export PATH=$HOME/.local/bin:$PATH
|
||||
[[ -d "/usr/local/sbin" ]] && export PATH=/usr/local/sbin:$PATH
|
||||
if command -v rustup > /dev/null; then
|
||||
RUSTUP_TRIPLET=$(rustup show active-toolchain | awk '{print $1}')
|
||||
RUSTUP_PATH="$HOME/.rustup/toolchains/$RUSTUP_TRIPLET/bin"
|
||||
|
@ -190,6 +189,8 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
|||
elif [[ "$OSTYPE" == "darwin"* ]];then
|
||||
|
||||
export EDITOR=/usr/local/bin/nvim
|
||||
[[ -d "/usr/local/sbin" ]] && export PATH=/usr/local/sbin:$PATH
|
||||
typeset -U PATH
|
||||
|
||||
alias l="/usr/local/bin/gls --group-directories-first --color=auto -v"
|
||||
alias ll="/usr/local/bin/gls --group-directories-first --color=auto -1lv"
|
||||
|
|
Loading…
Reference in New Issue