fix(zsh): use $HOME rather than hard coded path

This commit is contained in:
Badstagram 2025-12-12 22:32:35 +00:00
parent e70ae77530
commit f70de0726d
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ bindkey -M emacs '^[[1;5D' backward-word # ctrl +  = move cursor to start
bindkey -M emacs '^[[1;5C' forward-word # ctrl +  = move cursor to end of next word
# fnm
FNM_PATH="/home/bad/.local/share/fnm"
FNM_PATH="$HOME/.local/share/fnm"
if [ -d "$FNM_PATH" ]; then
export PATH="$FNM_PATH:$PATH"
eval "`fnm env`"

View File

@ -4,7 +4,7 @@
autoload -U compinit
compinit
ZSH_PLUGIN_DIR='/home/bad/.config/zsh-plugins'
ZSH_PLUGIN_DIR="$HOME/.config/zsh-plugins"
source "$ZSH_PLUGIN_DIR/zsh-syntax-highlighting/catppuccin_macchiato-zsh-syntax-highlighting.zsh"
source "$ZSH_PLUGIN_DIR/git.plugin.zsh"
source "$ZSH_PLUGIN_DIR/zsh-autosuggestions/zsh-autosuggestions.zsh"