Skip to content
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

Forward slashes in path completion #395

modbw opened this issue Apr 27, 2016 · 3 comments

Forward slashes in path completion #395

modbw opened this issue Apr 27, 2016 · 3 comments


Copy link

modbw commented Apr 27, 2016

Would it be possible to have (optional) forward slashes in path completion? As I copy/past paths from a clink pimped cmd to a ssh session from time to time this would be really practical for me.

Copy link

mridgers commented Jul 9, 2016

Optionally isn't quite so straight forward, but you can do it by creating a dummy Lua match generator that tells Clink to use forward slashes. Put this in a .lua file alongside Clink;

local function force_fwd_slashes(text, first, last)
    return false

clink.register_match_generator(force_fwd_slashes, -1)

@mridgers mridgers closed this as completed Jul 9, 2016
Copy link

Nice - if you use cmder, you can just add this to the end of your cmder/config/cmd.lua file and it works.

Copy link

oussaka commented Mar 16, 2017

It is good for me
Thanks, bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

4 participants