mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
feat(shell): create cached-eval helper to improve shell startup speed.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
if command-exists zoxide; then
|
||||
eval "$(zoxide init --cmd zox zsh)"
|
||||
cached-eval "$(command -v zoxide)" zoxide init --cmd zox zsh
|
||||
|
||||
# Use functions to allow regular zsh completion for cd to work.
|
||||
cd() { __zoxide_z "$@"; }
|
||||
|
||||
Reference in New Issue
Block a user