bashrc: Add lsblkjson and shuriken aliases
This commit is contained in:
parent
ed0371ff8b
commit
3c6bc7110e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue