From 1111b7d5af8ac2c612e357337d9f0e61421bed48 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 21 Dec 2011 12:19:42 +0100 Subject: [PATCH] FISH: Add 2 commands, engage and lscompmod engage: Plays a star trek-like starship noise lscompmod: Show which kernel modules are being used --- .config/fish/config.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 17a8e2d..2dbfa0d 100755 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -72,5 +72,13 @@ function reboot org.freedesktop.ConsoleKit.Manager.Restart end +function engage + play -n -c1 synth whitenoise band -n 100 20 band -n 50 20 gain +25 fade h 1 864000 1 +end + +function lscompmod -d "List kernel modules used by hardware" + lspci -mvk | awk '/^Module/ {print $2}' | sort -u +end + set -x PAGER 'less -FXRS' set -x BROWSER firefox