From b34a567af7ea470caf0c406c954d7477ca63a53c Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sat, 22 Aug 2015 15:13:22 +0300 Subject: [PATCH] rc: alias winkey The xxd method, because it's easier to alias. Closes #81 --- rc/bashrc | 3 +++ rc/zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rc/bashrc b/rc/bashrc index 8b30cf63..ff32f95b 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -583,6 +583,9 @@ alias sailfish-nstatus='dbus-send --system --type=method_call --print-reply --de # apt build depedencies (without installing) alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS" +# http://superuser.com/a/638033 - get embedded Windows key +alias winkey="xxd /sys/firmware/acpi/tables/MSDM" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/rc/zshrc b/rc/zshrc index 6a82f2f4..66274711 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -567,6 +567,9 @@ alias sailfish-nstatus='dbus-send --system --type=method_call --print-reply --de # apt build depedencies (without installing) alias apt-builddep="apt-rdepends --build-depends --follow=DEPENDS" +# http://superuser.com/a/638033 - get embedded Windows key +alias winkey="xxd /sys/firmware/acpi/tables/MSDM" + # Allow custom aliases to be put in .aliases or .zsh_aliases . # .aliases