From 453270c802e964ffdcc3abfbd62e7696b2df3934 Mon Sep 17 00:00:00 2001 From: Andy Pack Date: Mon, 17 Oct 2022 08:03:27 +0100 Subject: [PATCH] adding scripts path, aliases, autocomplete --- .zshrc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index e0adb9d..90cdb8b 100644 --- a/.zshrc +++ b/.zshrc @@ -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)