mirror of
https://github.com/shokinn/.files.git
synced 2025-08-23 11:13:19 +00:00
Compare commits
3 commits
67146e5f16
...
ef285f1105
Author | SHA1 | Date | |
---|---|---|---|
ef285f1105 | |||
8c0226d771 | |||
a5e83d2611 |
2 changed files with 14 additions and 3 deletions
|
@ -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.
|
||||||
|
@ -432,4 +441,4 @@ setVpnGitRemote() {
|
||||||
|
|
||||||
echo -e "🔗 git remote (${HIGHLIGHT}${ORIGIN}${RESET}): ${HIGHLIGHT}${repo}${RESET}\n"
|
echo -e "🔗 git remote (${HIGHLIGHT}${ORIGIN}${RESET}): ${HIGHLIGHT}${repo}${RESET}\n"
|
||||||
}
|
}
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
|
@ -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)"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue