bashrc & zshrc: add alias weechat-version for displaying weechat comp...

...ile date / commit id. Fixes #15
This commit is contained in:
Mika Suomalainen 2013-02-06 16:22:08 +02:00
parent 52c472114e
commit 444acd5675
2 changed files with 2 additions and 0 deletions

1
bashrc
View File

@ -232,6 +232,7 @@ alias gdrop="git stash && git stash drop"
# Why I must write "weechat-curses" to start it? # Why I must write "weechat-curses" to start it?
alias weechat="weechat-curses" alias weechat="weechat-curses"
alias weechat-version="weechat-curses --help|head -n2"
#NMAP specific. All nmap things should be run as root, so it's probably best to copy these aliases to root's .bashrc. Things which don't run without root ask for sudo password. #NMAP specific. All nmap things should be run as root, so it's probably best to copy these aliases to root's .bashrc. Things which don't run without root ask for sudo password.
alias nmap-intense="nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 " alias nmap-intense="nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "

1
zshrc
View File

@ -163,6 +163,7 @@ alias gdrop="git stash && git stash drop"
# Why I must write "weechat-curses" to start it? # Why I must write "weechat-curses" to start it?
alias weechat="weechat-curses" alias weechat="weechat-curses"
alias weechat-version="weechat-curses --help|head -n2"
#NMAP specific. All nmap things should be run as root, so it's probably best to copy these aliases to root's .zshrc. Things which don't run without root ask for sudo password. #NMAP specific. All nmap things should be run as root, so it's probably best to copy these aliases to root's .zshrc. Things which don't run without root ask for sudo password.
alias nmap-intense="nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 " alias nmap-intense="nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "