From 3c6bc7110e054a96ef439a0866dd754a7630b61b Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Sun, 30 Nov 2025 17:40:03 +0100 Subject: [PATCH] bashrc: Add lsblkjson and shuriken aliases --- .bashrc.d/10_common_aliases.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.bashrc.d/10_common_aliases.sh b/.bashrc.d/10_common_aliases.sh index 4f4ba4a..00883f9 100644 --- a/.bashrc.d/10_common_aliases.sh +++ b/.bashrc.d/10_common_aliases.sh @@ -112,8 +112,14 @@ function b64dec() { alias digs='dig +short' alias digrr='dig +noall +answer' +# Print all information in lsblk in JSON for better readability +alias lsblkjson='lsblk -O --json' + # Readline macro Ctrl-Alt-L: Append "| less" to current command bind '"\e\C-l": "\C-e | less"' # Readline macro Ctrl-Alt-B: Append ">/dev/null 2>&1 &" to current command bind '"\e\C-b": "\C-e >/dev/null 2>&1 &"' + +# Shortcut for shuriken build script (assumes it's in $PWD/tools/shuriken.py) +alias shuriken=./tools/shuriken.py