-
Notifications
You must be signed in to change notification settings - Fork 57
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] Add tab to autocomplete file name #170
Comments
I think that's because the shell knows when to autocomplete paths usually when they come right after a command or flag. The shell treats " For the workaround, you can set up a simple custom completion script for # if you're using Bash :)
_alterx_custom_completion() {
local cur
cur="${COMP_WORDS[COMP_CWORD]}"
COMPREPLY=( $(compgen -f -- "$cur") )
}
complete -F _alterx_custom_completion alterx |
Thank you. Works good. But doing |
While using -pp param it would be useful to have the tab autocomplete function to load the file name.
For instance, I want to use the file brute.force.txt into the param
word
here:alterx -p '{{word}}.{{suffix}}' -pp word=brute.force.txt
The text was updated successfully, but these errors were encountered: