adding scripts path, aliases, autocomplete

This commit is contained in:
Andy Pack 2022-10-17 08:03:27 +01:00
parent 506f5e00bf
commit 453270c802
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

14
.zshrc
View File

@ -14,5 +14,17 @@ 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:$PATH"
export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH"
autoload -Uz compinit
compinit
_comp_options+=(globdots)