dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit 0aa9db2d032e5a4827b054e869634cb9a933c6d3
parent ae1f6196f3ef53b13803c7f72b895ee2c11728c7
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Mon, 29 May 2017 18:50:17 +0300

aliases: Convert iptv/iptvs to functions

Diffstat:
.aliases | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.aliases b/.aliases @@ -78,8 +78,13 @@ alias ll="ls -lah" alias cl="clear; ls" alias e="emacsclient" -alias iptv="iptables -L -v -n --line-numbers" -alias iptvs="ip6tables -L -v -n --line-numbers" +iptv(){ + iptables -v -n --line-numbers -L $@ +} + +iptvs(){ + ip6tables -v -n --line-numbers -L $@ +} alias alsamixer="alsamixer -c 0"