7c5152011a
Fixed issue where when opening a second terminal it'd open in the same tmux session making it so that it's just a mirror of the first terminal. Closing that terminal would close all terminals. Also added an alias to vim which calls nvim
57 lines
1.2 KiB
Plaintext
57 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"
|
|
|
|
# Alias vim to nvim
|
|
alias vim="nvim"
|
|
|
|
############### 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)"
|