Fixed sudo autocomplete better

This commit is contained in:
Logan G 2024-10-01 19:07:07 -06:00
parent 0c5d74fc35
commit 64f53c3f45
Signed by: logan
GPG key ID: E328528C921E7A7A
3 changed files with 4 additions and 3 deletions

View file

@ -1,3 +0,0 @@
#!/bin/sh
complete -cf sudo

View file

@ -8,3 +8,5 @@
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias grep='grep --color=auto' alias grep='grep --color=auto'
PS1='\[\e[92m\]\u\[\e[0m\]@\h \[\e[96m\]\w\n\[\e[92m\]\$\[\e[0m\] ' PS1='\[\e[92m\]\u\[\e[0m\]@\h \[\e[96m\]\w\n\[\e[92m\]\$\[\e[0m\] '
complete -cf sudo

View file

@ -8,3 +8,5 @@
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias grep='grep --color=auto' alias grep='grep --color=auto'
PS1='\[\e[91m\]\u\[\e[0m\]@\h \[\e[96m\]\w\n\[\e[91m\]\$\[\e[0m\] ' PS1='\[\e[91m\]\u\[\e[0m\]@\h \[\e[96m\]\w\n\[\e[91m\]\$\[\e[0m\] '
complete -cf sudo