1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 01:07:11 -07:00

add hex util: arith but base 16

This commit is contained in:
Connor Olding 2016-04-06 09:47:53 -07:00
parent dd31b74a17
commit d78726b195
2 changed files with 3 additions and 1 deletions

View File

@ -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
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"
if [[ "$TERM" = xterm* ]]; then

2
sh/hex Normal file
View File

@ -0,0 +1,2 @@
#!/bin/zsh
printf "%08X\n" "$(($@))"