Skip to content
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
@Ioulan
Comment options

Answer selected by Ioulan
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