diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 59aeb61..5d5c556 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -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"