Compare commits

..

3 commits

2 changed files with 14 additions and 3 deletions

View file

@ -139,6 +139,15 @@ EOF
fi fi
} }
# zoxide z functions, since my default zoxide init will overwrite the cd command
z () {
__zoxide_z "$@"
}
zi () {
__zoxide_zi "$@"
}
{%@@ if distro == 'macos' @@%} {%@@ if distro == 'macos' @@%}
####################################### #######################################
# Shows a netstat -tulpn styled output on mac. # Shows a netstat -tulpn styled output on mac.

View file

@ -72,6 +72,9 @@ COMPLETION_WAITING_DOTS="true"
# 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
# set zoxide command to cd
ZOXIDE_CMD_OVERRIDE="cd"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
@ -103,6 +106,7 @@ plugins=(
themes themes
uv uv
vscode vscode
zoxide
zsh-navigation-tools zsh-navigation-tools
zsh-ssh zsh-ssh
{%@@ if distro == 'macos' @@%} # Mac specifics {%@@ if distro == 'macos' @@%} # Mac specifics
@ -210,5 +214,3 @@ autoload -Uz compinit
zstyle ':completion:*' menu select zstyle ':completion:*' menu select
fpath+=~/.zfunc fpath+=~/.zfunc
{%@@ endif @@%} {%@@ endif @@%}
[[ $(command -v zoxide) ]] && eval "$(zoxide init zsh)"