X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fzsh%2Fzshrc;h=b7b2caf99260accad97e66955ae24afbc97a6c06;hb=fe25fa0be72344bacd156cf0da78784d3aadcf4a;hp=933f7ab303fc6f5da0b843c8cdc93468e0e8a059;hpb=2e9ff8e5185eb3c4305368cf9e1fd14de2ed8f15;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 933f7ab..b7b2caf 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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 ' ; return 1 } -} - # spawn a minimally set up mksh - useful if you want to umount /usr/. minimal-shell() { emulate -L zsh