Skip to content

question regarding ~ named directory #529

Answered by yutkat
lime-desu asked this question in Q&A
Discussion options

You must be logged in to vote

You can use hash command to do that.

Use it like this.

hash -d zshdata=$XDG_DATA_HOME/zsh

See the document for details.

hash [ -Ldfmrv ] [ name[=value] ] ...

https://zsh.sourceforge.io/Doc/Release/Shell-Builtin-Commands.html

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lime-desu
Comment options

Answer selected by lime-desu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants