Diff
1diff --git a/themes/humza.zsh-theme b/themes/humza.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..10788629552bb026fc49a6cb5163f930df4b5ebd
4--- /dev/null
5+++ b/themes/humza.zsh-theme
6@@ -0,0 +1,26 @@
7+# ZSH THEME Preview: https://skitch.com/huyy/rk979/humza.zshtheme
8+
9+let TotalBytes=0
10+for Bytes in $(ls -l | grep "^-" | awk '{ print $5 }')
11+do
12+ let TotalBytes=$TotalBytes+$Bytes
13+done
14+ # should it say b, kb, Mb, or Gb
15+if [ $TotalBytes -lt 1024 ]; then
16+ TotalSize=$(echo -e "scale=3 \n$TotalBytes \nquit" | bc)
17+ suffix="b"
18+elif [ $TotalBytes -lt 1048576 ]; then
19+ TotalSize=$(echo -e "scale=3 \n$TotalBytes/1024 \nquit" | bc)
20+ suffix="kb"
21+elif [ $TotalBytes -lt 1073741824 ]; then
22+ TotalSize=$(echo -e "scale=3 \n$TotalBytes/1048576 \nquit" | bc)
23+ suffix="Mb"
24+else
25+ TotalSize=$(echo -e "scale=3 \n$TotalBytes/1073741824 \nquit" | bc)
26+ suffix="Gb"
27+fi
28+
29+PROMPT='%{$reset_color%}%n %{$fg[green]%}{%{$reset_color%}%~%{$fg[green]%}}%{$reset_color%}$(git_prompt_info) greetings, earthling %{$fg[green]%}[%{$reset_color%}%{$TotalSize%}%{$suffix%}%{$fg[green]%}]%{$fg[red]%}$%{$reset_color%} ☞ '
30+
31+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}±("
32+ZSH_THEME_GIT_PROMPT_SUFFIX=");%{$reset_color%}"