From 444acd567587b5b740049490269c6b56d8a87f23 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Wed, 6 Feb 2013 16:22:08 +0200 Subject: [PATCH] bashrc & zshrc: add alias weechat-version for displaying weechat comp... ...ile date / commit id. Fixes #15 --- bashrc | 1 + zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/bashrc b/bashrc index 02ca7b4a..e4893870 100644 --- a/bashrc +++ b/bashrc @@ -232,6 +232,7 @@ alias gdrop="git stash && git stash drop" # Why I must write "weechat-curses" to start it? 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. alias nmap-intense="nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 " diff --git a/zshrc b/zshrc index dee3173f..81b03a8e 100644 --- a/zshrc +++ b/zshrc @@ -163,6 +163,7 @@ alias gdrop="git stash && git stash drop" # Why I must write "weechat-curses" to start it? 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. alias nmap-intense="nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "