Files
dotfiles/zsh/dot-zshrc
Wesley Irvin 9ee3a31003 Release 1.0
We have no release yet and I feel it's time to call a 1.0. This seems as good a place as any to start.

Reviewed-on: #30
2026-01-13 17:48:59 -05:00

54 lines
1.2 KiB
Plaintext

# Our ZSH configuration
############### ALIASES ####################
# Load bottom with the proper color scheme
alias btm="btm --theme=gruvbox"
# Remap ls to use lsd
alias ls="lsd"
# Add alias for la to call lsd -lah
alias la="lsd -lah"
# Replace cat with bat
alias cat="bat"
# Alias cd to z for zoxide
alias cd="z"
############### END ALIASES ###############
############### BEGIN EXPORTS #############
# Exporting $HOME/.local/bin for Zed
export PATH=$HOME/.local/bin:$PATH
# Export my local-progs directory to find executables
export PATH=$HOME/local-progs/:$PATH
# Pre-configure settings for zsh-vi-mode
function zvm_config() {
ZVM_CURSOR_STYLE_ENABLED=false
ZVM_VI_EDITOR=nvim
}
############### END EXPORTS ###############
# Add in our fzf integrations for zsh
# Comment if you don't want the fzf integration
source <(fzf --zsh)
# Enable vi mode for zsh
source $HOME/local-progs/zsh-vi-mode/zsh-vi-mode.plugin.zsh
# We want to make sure that autocompletions are loaded
autoload -Uz compinit && compinit
# Initialize zoxide
eval "$(zoxide init zsh)"
# Finally we want to use starship for our prompt
# (because rust that's why)
eval "$(starship init zsh)"