diff --git a/home/zshrc b/home/zshrc index 9090ab1..210f45c 100644 --- a/home/zshrc +++ b/home/zshrc @@ -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 diff --git a/sh/hex b/sh/hex new file mode 100644 index 0000000..def6e9c --- /dev/null +++ b/sh/hex @@ -0,0 +1,2 @@ +#!/bin/zsh +printf "%08X\n" "$(($@))"