zsh changes

This commit is contained in:
Jonathan Hodgson 2019-10-29 13:50:51 +00:00
parent fdb2ed3606
commit d9465307d6
3 changed files with 15 additions and 17 deletions

View file

@ -14,7 +14,7 @@ alias tree='tree -F -C'
# Make qmv open on 1 column mode
alias qmv='qmv -f do'
alias msfconsole="msfconsole --quiet -x \"db_connect msf@msf\""
alias msfconsole="( systemctl status --no-pager postgresql.service > /dev/null || (echo \"Statring postgres\"; sudo systemctl start postgresql.service) ); ( pass show system/metasploit/database.yaml > database.yaml; msfconsole -y database.yaml; rm database.yaml )"
#Start cups
alias cups='sudo systemctl start org.cups.cupsd.service'