[zsh] Fix the completion with myconfigfiles alias

This commit is contained in:
Gregory Trolliet 2024-12-17 18:26:45 +01:00
parent fd08025ff5
commit 7b084aada1

3
.zshrc
View file

@ -107,11 +107,12 @@ source $ZSH/oh-my-zsh.sh
# - $ZSH_CUSTOM/macos.zsh # - $ZSH_CUSTOM/macos.zsh
# For a full list of active aliases, run `alias`. # For a full list of active aliases, run `alias`.
# #
# Example aliases # Example aliases
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
alias mountcloud='umount /home/raghnarok/work/ragcloud1/; sshfs debian@trolliet.info:/home/debian/ work/ragcloud1/' alias mountcloud='umount /home/raghnarok/work/ragcloud1/; sshfs debian@trolliet.info:/home/debian/ work/ragcloud1/'
alias myconfigfiles='git --git-dir=$HOME/.myconfigfiles.git --work-tree=$HOME' alias myconfigfiles='git --git-dir=/home/raghnarok/.myconfigfiles.git --work-tree ~'
alias mpvlow='mpv --script-opts=ytdl_hook-ytdl_path=yt-dlp --ytdl-raw-options=format-sort=height:480' alias mpvlow='mpv --script-opts=ytdl_hook-ytdl_path=yt-dlp --ytdl-raw-options=format-sort=height:480'
alias mpvhigh='mpv --script-opts=ytdl_hook-ytdl_path=yt-dlp --ytdl-raw-options=format-sort=height:1080' alias mpvhigh='mpv --script-opts=ytdl_hook-ytdl_path=yt-dlp --ytdl-raw-options=format-sort=height:1080'