zshrc: Move hex to skel/.zshrc
[grml-etc-core.git] / etc / zsh / zshrc
index 933f7ab..b7b2caf 100644 (file)
@@ -2212,12 +2212,6 @@ deswap() {
     print 'Finished, running "swapoff -a; swapon -a" may also be useful.'
 }
 
-# print hex value of a number
-hex() {
-    emulate -L zsh
-    [[ -n "$1" ]] && printf "%x\n" $1 || { print 'Usage: hex <number-to-convert>' ; return 1 }
-}
-
 # spawn a minimally set up mksh - useful if you want to umount /usr/.
 minimal-shell() {
     emulate -L zsh