cd on exit
Is it possible to cd on quit?
Something like :
alias br ='cd $(broot --print-pwd-as-result)' like xplr does
If you launch broot with the br function then you can cd to the chosen directory with alt-enter.
I would like to simply define cd on exit without having to alt-enter.
I can easily reverse by pressing esc several times before exiting if I want to prevent this.
Alternatively, can alt-enter be redefined?
I'm sorry but I don't understand what you want. Is it simply to define another shortcut to the behavior you now have with alt-enter ? Or do you want ctrl-q to do a cd ?
I'm sorry but I don't understand what you want. Is it simply to define another shortcut to the behavior you now have with alt-enter ? Or do you want
ctrl-qto do a cd ?
Sorry for my wording.
I want ctrl-q to do a cd, or more specifically, I want cd to happen on exit, that is, whatever I config as exit shortcut.
And I want alt-enter to be shift-enter but that's another issue #920