Fix some PATH issues
This commit is contained in:
parent
f9b4796c2d
commit
f119d5e9c9
1 changed files with 5 additions and 5 deletions
10
zshrc.zsh
10
zshrc.zsh
|
@ -1,5 +1,4 @@
|
||||||
# Fig pre block. Keep at the top of this file.
|
# Fig pre block. Keep at the top of this file.
|
||||||
export PATH="${PATH}:${HOME}/.local/bin"
|
|
||||||
eval "$(fig init zsh pre)"
|
eval "$(fig init zsh pre)"
|
||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
|
@ -34,7 +33,11 @@ export EDITOR='vim'
|
||||||
# Set the DEFAULT_USER variable to me (jonny)
|
# Set the DEFAULT_USER variable to me (jonny)
|
||||||
export DEFAULT_USER="jonny"
|
export DEFAULT_USER="jonny"
|
||||||
|
|
||||||
# Set the $PATH
|
# Autoadd to PATH (neede for MacTex)
|
||||||
|
# It prepends to $PATH, so we do it first then add our own
|
||||||
|
eval $(/usr/libexec/path_helper)
|
||||||
|
|
||||||
|
# Add our own dirs to the $PATH
|
||||||
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/.local/bin"
|
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/sbin:/sbin:$HOME/.local/bin"
|
||||||
export MANPATH="/opt/homebrew/manpages:/usr/local/man:$MANPATH"
|
export MANPATH="/opt/homebrew/manpages:/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
|
@ -115,9 +118,6 @@ test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_in
|
||||||
# Source the untracked `extra` file
|
# Source the untracked `extra` file
|
||||||
test -e $HOME/.extra && source $HOME/.extra
|
test -e $HOME/.extra && source $HOME/.extra
|
||||||
|
|
||||||
# Load MacTex commands
|
|
||||||
eval $(/usr/libexec/path_helper)
|
|
||||||
|
|
||||||
# Init the fuck
|
# Init the fuck
|
||||||
if type thefuck > /dev/null; then
|
if type thefuck > /dev/null; then
|
||||||
eval "$(thefuck --alias)"
|
eval "$(thefuck --alias)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue