Fixed sudo autocomplete better
This commit is contained in:
parent
0c5d74fc35
commit
64f53c3f45
3 changed files with 4 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
complete -cf sudo
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue