feat: use pushd instead of cd

This commit is contained in:
Tim Schubert 2025-08-09 21:49:09 +02:00
parent 453ddb4b06
commit 7024c45a04
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
`h repo-name` resolves the path to `repo-name` and changes the current working directory to it.
`h https://git.example.com/dadada/example.git` clones the repo `example` into `~/code/git.example.com/dadada/example` and changes the current working directory to it.
In this example `~/code` is the path in which repos should be stored; it can be specified using `export REPO_CODE_ROOT=$HOME/code`.
To navigate back use `popd`.
## Installation