Comment

Comment by unfamiliar

Zsh has a better builtin solution.

    hash -d x=/path/to/x
Then you can cd to there with just

    ~x
And use it in commands like

    ls ~x/whatever/
parent unfamiliar 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton