~xdavidwu/dotfiles

eb4076a0862c60df4d702f45cfe9a73f6fa03bae — xdavidwu 3 years ago 4badf50
bash: use sudo completion for doas (workaround)
1 files changed, 3 insertions(+), 0 deletions(-)

M .bashrc
M .bashrc => .bashrc +3 -0
@@ 185,3 185,6 @@ alias ssh="env TERM=$PTERM ssh"

_completion_loader ssh 2>/dev/null
[ $? -eq 124 ] && complete -F _ssh rssh

_completion_loader sudo 2>/dev/null
[ $? -eq 124 ] && complete -F _sudo doas