mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
add hex util: arith but base 16
This commit is contained in:
parent
dd31b74a17
commit
d78726b195
2 changed files with 3 additions and 1 deletions
|
@ -126,7 +126,7 @@ alias -g STFU="2>/dev/null"
|
||||||
|
|
||||||
for x in ack cd cp ebuild gcc gist grep ln man mkdir mv rm
|
for x in ack cd cp ebuild gcc gist grep ln man mkdir mv rm
|
||||||
alias $x="nocorrect $x"
|
alias $x="nocorrect $x"
|
||||||
for x in arith curl fc find ftp history let locate rsync scp sftp wget twitch hitbox yt
|
for x in arith hex curl fc find ftp history let locate rsync scp sftp wget twitch hitbox yt
|
||||||
alias $x="noglob $x"
|
alias $x="noglob $x"
|
||||||
|
|
||||||
if [[ "$TERM" = xterm* ]]; then
|
if [[ "$TERM" = xterm* ]]; then
|
||||||
|
|
2
sh/hex
Normal file
2
sh/hex
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
printf "%08X\n" "$(($@))"
|
Loading…
Add table
Reference in a new issue