chore(zsh.aliases): brew -> mbrew
Allow user to use their own brew
This commit is contained in:
parent
b2a731e341
commit
62df30426c
2 changed files with 7 additions and 1 deletions
|
@ -17,9 +17,15 @@ else
|
||||||
export ANDROID_AVD_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android/.android/avd"
|
export ANDROID_AVD_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android/.android/avd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# -- Python
|
||||||
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
export PYTHONNOUSERSITE=1
|
||||||
|
fi
|
||||||
|
|
||||||
# -- Path
|
# -- Path
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
LOCAL_PATH=$(du "$HOME/.local/bin/" | cut -f2 > /tmp/path && paste -sd ':' /tmp/path)
|
LOCAL_PATH=$(du "$HOME/.local/bin/" | cut -f2 > /tmp/path && paste -sd ':' /tmp/path)
|
||||||
|
LOCAL_PATH="$HOME/Library/Python/3.10/bin:$LOCAL_PATH"
|
||||||
elif [[ "$OSTYPE" == "linux-gnu" ]]; then
|
elif [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
LOCAL_PATH="$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')${PATH:+:${PATH}}"
|
LOCAL_PATH="$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')${PATH:+:${PATH}}"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
# i need sudo to launch emulator
|
# i need sudo to launch emulator
|
||||||
alias pixelemu="sudo $HOME/Library/Android/sdk/emulator/emulator @Pixel_2_API_28"
|
alias pixelemu="sudo $HOME/Library/Android/sdk/emulator/emulator @Pixel_2_API_28"
|
||||||
alias brew="sudo -H -u maintenance brew"
|
alias mbrew="sudo -H -u maintenance -g staff brew"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias punten='doas'
|
alias punten='doas'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue