Files
dotfiles/zsh/dot-zshrc
Wesley Irvin b1435388ae Misc Changes
Made misc changes to clean up some aliases and added zoxide support.

Reviewed-on: #29
2026-01-13 17:45:12 -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)"