bash-completion - completion function defined the first time a command is invoked

后端 未结 3 2007
醉梦人生
醉梦人生 2020-12-09 23:46

I\'ve added a new alias scp_using_rsync, which uses rsync to copy files over SSH with certain options. I wanted to link the bash completion for scp to this alia

3条回答
  •  囚心锁ツ
    2020-12-10 00:10

    Some completion functions are dynamically loaded. You can manually load them so that they will work with aliases. For example, you can add this to your ~/.bashrc so that completion will work with your alias.

    _completion_loader docker

提交回复
热议问题