Files
dotfiles/zsh/rust.zsh
Jim Myhrberg 9760c4a2aa feat(mise/tools): install Ruby gems with mise
Also remove various old defunct install_*_global_packages helper shell commands.
2025-05-04 10:22:59 +01:00

31 lines
767 B
Bash

#
# Rust environment setup.
#
# ==============================================================================
# aliases
# ==============================================================================
alias c="cargo"
if command-exists eza; then
alias ll="eza -lagHS --icons --git"
alias llt="ll --tree"
fi
if command-exists bat; then
alias cat="bat -P"
fi
# ==============================================================================
# completions
# ==============================================================================
if command-exists rustup; then
setup-completions rustup "$(command-path rustup)" rustup completions zsh
fi
if command-exists cargo; then
setup-completions cargo "$(command-path cargo)" rustup completions zsh cargo
fi