Repository navigation
Can we hardcode paths? #1243
|
I want to be able to map some values to associated path manually.
can we do this? |
Answered by
shreechaturvedi
Aug 20, 2026
Replies: 2 comments
|
Not as a built-in. If you want the short name, a normal alias is the supported way: alias ds='cd ~/Documents'Fish: |
0 replies
Answer selected by
kumawatdarshan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not as a built-in.
zmatches against the path, soz dswill not hit~/Documents.z docwill, once that directory is in the database (zoxide add ~/Documentsif it isn't already).If you want the short name, a normal alias is the supported way:
Fish:
abbr -a ds 'cd ~/Documents'. Native bookmarks are still an open request (#1014).