fish: Add aliases for cargo build commands

This commit is contained in:
Sanchayan Maity 2021-10-05 16:53:04 +05:30
parent a8d0a43556
commit bf9e2bf54c

View file

@ -240,6 +240,14 @@ alias vdu="nvim (git diff --name-only --diff-filter=U | uniq)"
# Add unmerged files
alias vdua="git add (git diff --name-only --diff-filter=U)"
# Cargo aliases
alias cba='cargo update && cargo build --all && cargo doc'
alias cbb='cargo build --all'
alias cbc='cargo clean'
alias cbd='cargo doc'
alias cbD='env BROWSER=firefox-wayland cargo doc --open'
alias cbu='cargo update'
# Git fzf helper functions
# https://github.com/junegunn/fzf/wiki/Examples-(fish)
function fco -d "Checkout a branch using fzf"