mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
zsh: add dvc aliases
This commit is contained in:
parent
97b49b34c8
commit
8e760f3e3e
|
@ -85,6 +85,12 @@ alias venv='source .venv/bin/activate'
|
|||
alias pf="fzf --preview='BAT_STYLE='header,changes' bat --color=always {}' --bind shift-up:preview-page-up,shift-down:preview-page-down"
|
||||
alias fgitlog="git log --oneline | fzf --multi --preview 'git -p show --color=always {+1}'"
|
||||
|
||||
# dvc
|
||||
alias dst='dvc status'
|
||||
alias dstc='dvc status --cloud'
|
||||
alias drp='dvc repro'
|
||||
alias drps='dvc repro -s'
|
||||
|
||||
# dotfiles user aliases
|
||||
if [[ -f ~/.dotfiles_aliases ]]; then
|
||||
source $HOME/.dotfiles_aliases
|
||||
|
|
|
@ -27,6 +27,10 @@ elif [[ "$(command -v apt)" ]]; then
|
|||
antibody bundle robbyrussell/oh-my-zsh path:plugins/debian
|
||||
fi
|
||||
|
||||
if [[ "$(command -v dvc )" ]]; then
|
||||
eval `dvc completion --shell zsh`
|
||||
fi
|
||||
|
||||
# Setup oh-my-zsh path
|
||||
export ZSH="$(antibody path robbyrussell/oh-my-zsh)"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user