-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Use pushd
for "Directory shortcuts"
#333
Comments
How about using |
clink/clink/app/src/host/host.cpp Lines 1120 to 1146 in 6d8ab1d
(It also happens after Directory shortcuts are translated into:
Note the leading space. So you could still use |
ah, nice. I should be able to implement this. Thanks as always |
Cool. If something more sophisticated or simpler to configure is needed, then I can look into making some kind of change. But if a change isn't needed then I'd lean towards using the existing mechanisms. |
Hi @pukkandan, your custom script will need to be updated: Issues #569 and #570 are about failures in Clink when command extensions are disabled. So, places that previously used |
Thanks for the heads up. The space at the start is still present, right? If so, I just need to adjust my regex. No big deal |
Yup, two kinds of commands possible now, and both still start with a space:
Also, some .lua scripts may use 2 leading spaces. E.g. cwdhistory.lua, and there are others as well. And fzf.lua's |
As far as I know, Clink's Directory shortcuts are not currently configurable. I prefer to use
pushd
/popd
instead ofcd /d
for directory navigation. Would it be possible to implement this?Even better if you can make this customizable so that custom batch files can be used
The text was updated successfully, but these errors were encountered: