adding aliases and completions

This commit is contained in:
Andy Pack 2023-06-11 18:57:36 +01:00
parent 48ad9e17b2
commit ceb81d3211
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

9
.zshrc
View File

@ -21,6 +21,10 @@ alias ytmpvhd='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1080]+bestaudi
alias gitlog='git log --graph --all --oneline' alias gitlog='git log --graph --all --oneline'
alias rdoc='cargo doc --open' alias rdoc='cargo doc --open'
alias cdicloud='cd ~/Library/Mobile\ Documents/com\~apple\~CloudDocs'
alias cdans='cd ~/dev/infra/ansible'
alias tailscale="/Applications/Tailscale.app/Contents/MacOS/Tailscale"
PS1='%F{green}%n@%m%f %1/ %F{red}%#%f ' PS1='%F{green}%n@%m%f %1/ %F{red}%#%f '
export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH" export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH"
@ -28,3 +32,8 @@ export PATH="/opt/homebrew/opt/python@3.10/bin:$HOME/lab/scripts:$PATH"
autoload -Uz compinit autoload -Uz compinit
compinit compinit
_comp_options+=(globdots) _comp_options+=(globdots)
source /Users/andy/.docker/init-zsh.sh || true # Added by Docker Desktop
source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc"
source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"