Since tab complete with `sudo systemctl` is broken, revert to using polkit for authentication instead
This commit is contained in:
parent
2cd660a915
commit
2a96636cf5
3
.bashrc
3
.bashrc
|
@ -88,9 +88,6 @@ alias grep='grep --color=auto'
|
||||||
# Change layout of lsblk to include FSTYPE and remove MAJ:MIN, RM, and RO collumns.
|
# Change layout of lsblk to include FSTYPE and remove MAJ:MIN, RM, and RO collumns.
|
||||||
alias lsblk='lsblk -o NAME,FSTYPE,SIZE,TYPE,MOUNTPOINT'
|
alias lsblk='lsblk -o NAME,FSTYPE,SIZE,TYPE,MOUNTPOINT'
|
||||||
|
|
||||||
# Always use sudo when using systemctl. Pairs well with passwordless sudo for systemctl.
|
|
||||||
alias systemctl='sudo -E systemctl'
|
|
||||||
|
|
||||||
# Always use sudo when using nmap.
|
# Always use sudo when using nmap.
|
||||||
alias nmap='sudo -E nmap'
|
alias nmap='sudo -E nmap'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue