fix(zsh): use $HOME rather than hard coded path
This commit is contained in:
parent
e70ae77530
commit
f70de0726d
@ -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`"
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user