mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Sync from Windows
This commit is contained in:
parent
8a7397c426
commit
d5f8d807b9
80 changed files with 6079 additions and 5097 deletions
88
mac/.zshrc
88
mac/.zshrc
|
|
@ -1,44 +1,44 @@
|
|||
# $XDG_CONFIG_HOME/zsh/.zshrc
|
||||
# ln -s $DOTFILES/mac/.zshrc $XDG_CONFIG_HOME/zsh/.zshrc
|
||||
### Variables ###
|
||||
|
||||
export DOTFILES="$HOME/.dotfiles"
|
||||
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH
|
||||
for file in $DOTFILES/zsh/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
export ARCHFLAGS="-arch arm64"
|
||||
|
||||
### Navigation ###
|
||||
# Absolute navigation
|
||||
alias doku="cd ~/doku && ls"
|
||||
alias dotfiles="cd $DOTFILES && ls"
|
||||
alias docs="cd ~/Documents"
|
||||
alias dt="cd ~/Desktop"
|
||||
alias down="cd ~/Downloads"
|
||||
alias one="cd ~/OneDrive"
|
||||
alias gdrive="cd ~/Google\ Drive"
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/opt/homebrew/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then
|
||||
. "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/opt/homebrew/Caskroom/miniconda/base/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
# >>> juliaup initialize >>>
|
||||
|
||||
# !! Contents within this block are managed by juliaup !!
|
||||
|
||||
path=('$HOME/.juliaup/bin' $path)
|
||||
export PATH
|
||||
|
||||
# <<< juliaup initialize <<<
|
||||
# $XDG_CONFIG_HOME/zsh/.zshrc
|
||||
# ln -s $DOTFILES/mac/.zshrc $XDG_CONFIG_HOME/zsh/.zshrc
|
||||
### Variables ###
|
||||
|
||||
export DOTFILES="$HOME/.dotfiles"
|
||||
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH
|
||||
for file in $DOTFILES/zsh/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
export ARCHFLAGS="-arch arm64"
|
||||
|
||||
### Navigation ###
|
||||
# Absolute navigation
|
||||
alias doku="cd ~/doku && ls"
|
||||
alias dotfiles="cd $DOTFILES && ls"
|
||||
alias docs="cd ~/Documents"
|
||||
alias dt="cd ~/Desktop"
|
||||
alias down="cd ~/Downloads"
|
||||
alias one="cd ~/OneDrive"
|
||||
alias gdrive="cd ~/Google\ Drive"
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/opt/homebrew/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then
|
||||
. "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/opt/homebrew/Caskroom/miniconda/base/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
# >>> juliaup initialize >>>
|
||||
|
||||
# !! Contents within this block are managed by juliaup !!
|
||||
|
||||
path=('$HOME/.juliaup/bin' $path)
|
||||
export PATH
|
||||
|
||||
# <<< juliaup initialize <<<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue