From 0a56b90e7f2876269ac8fb7b62b33a91c137f696 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 19 Jan 2021 15:40:57 +0100 Subject: update --- .config/zsh/alias.zsh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.config/zsh/alias.zsh') diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 71a2889..f8fe8c1 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -45,10 +45,17 @@ alias fetch='torify fetch' alias fsl='fossil' alias diff='colordiff' alias ctags='uctags "--exclude=.ccls*"' -alias yt='straw-viewer --api=auto' +alias yt='straw-viewer --api=auto -C -f' +alias yta='straw-viewer --api=auto -C -n' alias gyt='gtk-straw-viewer' alias ytdl='youtube-dl --add-metadata' alias dgit='git --git-dir=$HOME/docs/dotfiles-bsd --work-tree=$HOME' +confgit() { + p=$(pwd) + cd / + git --git-dir=$HOME/docs/conffiles-bsd --work-tree=/ $@ + cd $p +} alias vim='nvim' alias gst='git status' alias ga='git add' -- cgit v1.2.3