aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-05-25 12:15:12 +0000
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-05-25 12:15:12 +0000
commit893b506d0f8a61afa70d39870ec52bdba6af89c0 (patch)
tree70179cbf0c26f7853767a2b7b1f0fccbb18f0bb9 /bash
parent1b80f1efda4821c350bc380674cfa7b26da388ce (diff)
downloaddotfiles-893b506d0f8a61afa70d39870ec52bdba6af89c0.tar.gz
dotfiles-893b506d0f8a61afa70d39870ec52bdba6af89c0.tar.bz2
dotfiles-893b506d0f8a61afa70d39870ec52bdba6af89c0.zip
Added showbanned function to bashrc
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 0f0b32d..37bb474 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -39,7 +39,6 @@ exists() {
39 hash $@ 2> /dev/null 39 hash $@ 2> /dev/null
40} 40}
41 41
42
43if exists mpv; then 42if exists mpv; then
44 alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream' 43 alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream'
45elif exists vlc; then 44elif exists vlc; then
@@ -76,6 +75,16 @@ if exists ezjail-admin; then
76 } 75 }
77fi 76fi
78 77
78if exists pfctl; then
79 showbanned ()
80 {
81 for table in $(sudo pfctl -s Tables 2> /dev/null); do
82 echo "$table";
83 sudo pfctl -t $table -T show 2> /dev/null;
84 done
85 }
86fi
87
79if exists liquidprompt; then 88if exists liquidprompt; then
80 source liquidprompt 89 source liquidprompt
81fi 90fi