How to ignore part of command. eg: tsh ssh root@** #3277
Unanswered
EliottGoye
asked this question in
Q&A
Replies: 2 comments 4 replies
-
# see explanation in "man fzf"
echo "tsh ssh root@**test1\ntsh ssh root2@**test2" | fzf --delimiter @ --with-nth 2.. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The completion function overrides your Line 211 in 9499910 So, if you want to remove it, you can clear the initial --bind start:clear-query |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am trying to implement a fzf custom completion script for the
tsh
CLI that works pretty much likessh
and I would like to ignore the text right before the**
Example :
tsh ssh root@**
Actually the
root@
part is within the search. Is it possible to remove the user from the search so I can search from hosts ?My completion script at the moment :
Beta Was this translation helpful? Give feedback.
All reactions