added alias nmap to sudo nmap

This commit is contained in:
David Thurstenson 2016-01-21 16:21:30 -06:00
parent 1c36e426ff
commit 7a60ec4ccb
1 changed files with 4 additions and 1 deletions

View File

@ -73,7 +73,10 @@ alias grep='grep --color=auto'
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. # Always use sudo when using systemctl. Pairs well with passwordless sudo for systemctl.
alias systemctl='sudo --preserve-env systemctl' alias systemctl='sudo -E systemctl'
# Always use sudo when using nmap.
alias nmap='sudo -E nmap'
# I'm tired of managing weechat configs and multiple nicks # I'm tired of managing weechat configs and multiple nicks
# Client depends: ssh, mosh, correct ssh host configuration # Client depends: ssh, mosh, correct ssh host configuration