8
rated 0 times
[
8]
[
0]
/ answers: 1 / hits: 2014
/ 2 Years ago, tue, november 16, 2021, 2:41:42
I tried
alias sct='systemctl'
complete -F _systemctl sct
But the function _systemctl is not found until I run the original command systemctl in the session. This function loads dynamically or somehow and contains many other same functions inside.
OS - Ubuntu 20.04
More From » bash