fish: Add aliases for cargo build commands
This commit is contained in:
parent
a8d0a43556
commit
bf9e2bf54c
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue