From 372df5685c0af65b1e91241ce12eb83948b009f4 Mon Sep 17 00:00:00 2001 From: Heavy Date: Fri, 26 Jan 2024 12:56:23 +0100 Subject: [PATCH] Added alias to print raspberry pi temperature. --- dot_bashrc.d/executable_08.alias.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot_bashrc.d/executable_08.alias.tmpl b/dot_bashrc.d/executable_08.alias.tmpl index 4dac043..7bc8a86 100644 --- a/dot_bashrc.d/executable_08.alias.tmpl +++ b/dot_bashrc.d/executable_08.alias.tmpl @@ -90,3 +90,8 @@ fi if [ -x /usr/bin/fdfind ]; then alias fd='fdfind' fi + +# raspberry pi commands +if [ -x /usr/bin/vcgencmd ]; then + alias pi-temp='vcgencmd measure_temp' +fi