🐛 (.zshrc, install.sh): fix newline issues at the end of files

This commit is contained in:
Frank Qing
2025-05-28 02:42:18 +08:00
parent d160d1795b
commit 5f22fb4d7e
5 changed files with 46 additions and 2 deletions

4
zshrc/nvm.zsh Normal file
View File

@@ -0,0 +1,4 @@
# Initialize nvm (Node Version Manager)
export NVM_DIR="${XDG_CONFIG_HOME:-$HOME/.nvm}"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

11
zshrc/personal.zsh Normal file
View File

@@ -0,0 +1,11 @@
# This my personal zshrc configs. Feel free to use it and modify according to your needs
# Place all your .zshrc configurations (including this one) in a single or multiple files under ~/.config/ezsh/zshrc/ folder
# Additional OH-MY-ZSH plugins to enable
plugins+=(lol httpie docker docker-compose pyenv pip)
# Remove OH-MY-ZSH plugins from the default config
plugins=(${plugins:#(zsh-autosuggestions|lol)})
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(virtualenv status command_execution_time background_jobs todo ram load rvm time)