zsh:alias: Add bytestr
This commit is contained in:
@@ -140,6 +140,8 @@ fi
|
|||||||
alias udsk='udisksctl'
|
alias udsk='udisksctl'
|
||||||
# calculator with output in hex (goes well together with option C_BASES)
|
# calculator with output in hex (goes well together with option C_BASES)
|
||||||
alias hex='() { printf "%s\n" "$(([#16] $*))" }'
|
alias hex='() { printf "%s\n" "$(([#16] $*))" }'
|
||||||
|
# https://unix.stackexchange.com/a/309781
|
||||||
|
alias bytestr='hexdump -v -e '\''"\\" "x" 1/1 "%02X"'\'
|
||||||
|
|
||||||
# Precommand modifiers
|
# Precommand modifiers
|
||||||
alias mkdir='nocorrect mkdir'
|
alias mkdir='nocorrect mkdir'
|
||||||
|
|||||||
Reference in New Issue
Block a user