bashrc: Add lsblkjson and shuriken aliases

This commit is contained in:
Lexi / Zoe 2025-11-30 17:40:03 +01:00
parent ed0371ff8b
commit 3c6bc7110e
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 6 additions and 0 deletions

View File

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