Last active
February 21, 2024 17:20
-
-
Save curtischong/0f077dcc69a818e851f82d080e2c5292 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval "$(zoxide init zsh)" | |
function cd(){ | |
z "$@" && | |
pwd > ~/.last_dir | |
} | |
function ccd(){ | |
zi "$@" && | |
pwd > ~/.last_dir | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment