FISH: Add 2 commands, engage and lscompmod

engage: Plays a star trek-like starship noise
lscompmod: Show which kernel modules are being used
This commit is contained in:
Tom Willemsen 2011-12-21 12:19:42 +01:00
parent 2ca89c32f5
commit 1111b7d5af

View file

@ -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