mirror of https://github.com/sayanarijit/xplr
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Use `--print-pwd-as-result` to print the last working directory instead of the focused or selected nodes, when you quit using the `PrintResultAndQuit` message (i.e. by pressing `enter`). This helps with implementing the "cd on quit" functionality using a plain shell alias. Example: ``` alias xcd='cd "$(xplr --print-pwd-as-result)"' ``` With this alias set, you can navigate directories using xplr by entering `xcd` command, and when you quit by pressing enter, you will enter the directory. You can of course, quit with plain `Quit` (i.e. by pressing `esc`) to gracefully cancel "cd on quit". |
2 years ago | |
---|---|---|
.. | ||
xplr.rs | 2 years ago |