feat: added nvm config
This commit is contained in:
17
.zshrc
17
.zshrc
@@ -79,6 +79,15 @@ unsetopt HIST_VERIFY # Execute commands using history (e.g.: using !$) immediate
|
|||||||
# Would you like to use another custom folder than $ZSH/custom?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||||
|
|
||||||
|
# nvm configuration
|
||||||
|
# zstyle ':omz:plugins:nvm' lazy yes
|
||||||
|
zstyle ':omz:plugins:nvm' autoload yes
|
||||||
|
zstyle ':omz:plugins:nvm' silent-autoload yes # optionally remove the output generated by NVM when autoloading
|
||||||
|
|
||||||
|
# fzf-tab configuration
|
||||||
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview '/bin/eza -1 --color=always $realpath'
|
||||||
|
zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word'
|
||||||
|
|
||||||
ZOXIDE_CMD_OVERRIDE="cd"
|
ZOXIDE_CMD_OVERRIDE="cd"
|
||||||
|
|
||||||
# Which plugins would you like to load?
|
# Which plugins would you like to load?
|
||||||
@@ -102,15 +111,8 @@ eval "$(oh-my-posh init zsh --config ~/.p10k.omp.json)"
|
|||||||
|
|
||||||
# User configuration
|
# User configuration
|
||||||
|
|
||||||
# fzf-tab configuration
|
|
||||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
|
||||||
zstyle ':fzf-tab:complete:systemctl-*:*' fzf-preview 'SYSTEMD_COLORS=1 systemctl --user status $word'
|
|
||||||
|
|
||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
# VSCode shell integration
|
|
||||||
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
|
|
||||||
|
|
||||||
# SSH with kitty
|
# SSH with kitty
|
||||||
kssh() {
|
kssh() {
|
||||||
kitty +kitten ssh $@
|
kitty +kitten ssh $@
|
||||||
@@ -143,7 +145,6 @@ alias ls="eza --icons"
|
|||||||
alias tree="/bin/eza --icons -T"
|
alias tree="/bin/eza --icons -T"
|
||||||
alias less="batcat"
|
alias less="batcat"
|
||||||
alias df="duf --hide-fs squashfs,tmpfs,efivarfs,devtmpfs"
|
alias df="duf --hide-fs squashfs,tmpfs,efivarfs,devtmpfs"
|
||||||
# alias cd="zoxide"
|
|
||||||
alias grep="ugrep"
|
alias grep="ugrep"
|
||||||
alias ssh="kssh"
|
alias ssh="kssh"
|
||||||
alias hx="helix"
|
alias hx="helix"
|
||||||
|
|||||||
Reference in New Issue
Block a user