dotfiles/.zshrc

31 lines
983 B
Bash

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/homebrew/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/homebrew/anaconda3/etc/profile.d/conda.sh" ]; then
. "/opt/homebrew/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/homebrew/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
alias ytmpv='mpv --hwdec=auto --ytdl-format="bestvideo+bestaudio/best"'
alias ytmpvqhd='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1800]+bestaudio/best"'
alias ytmpvhd='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1080]+bestaudio/best"'
alias gitlog='git log --graph --all --oneline'
alias rdoc='cargo doc --open'
PS1='%F{green}%n@%m%f %1/ %F{red}%#%f '
export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH"
autoload -Uz compinit
compinit
_comp_options+=(globdots)