diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2021-01-19 15:40:57 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2021-01-19 15:40:57 +0100 |
commit | 0a56b90e7f2876269ac8fb7b62b33a91c137f696 (patch) | |
tree | d821ee449309df1b2d5663bf83c6885b3ccbbf5a /.config/zsh | |
parent | torified newsboat (diff) | |
download | dotfiles-bsd-0a56b90e7f2876269ac8fb7b62b33a91c137f696.tar.gz dotfiles-bsd-0a56b90e7f2876269ac8fb7b62b33a91c137f696.tar.bz2 dotfiles-bsd-0a56b90e7f2876269ac8fb7b62b33a91c137f696.tar.xz dotfiles-bsd-0a56b90e7f2876269ac8fb7b62b33a91c137f696.tar.zst dotfiles-bsd-0a56b90e7f2876269ac8fb7b62b33a91c137f696.zip |
update
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/alias.zsh | 9 |
1 files changed, 8 insertions, 1 deletions
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' |