ginh is not a histogram
usage: ./ginh.sh [-h] [-n entries] [-f hist_file] [-c chart_char] [-l line_len]
ginh.sh generates a bar chart of your most frequently used shell commands,
according to your shell's history file (or another file of your choosing, using
the -f flag).
example:
entries=15, file=/Users/crclark/.bash_history, char==, len=78
-------------------------------------------------------------------------------
git ================================================================= 40
cat ================================== 21
vim ========================= 15
ls ==================== 12
./ginh.sh =============== 9
cd ============ 7
mv ========== 6
sed ========= 5
echo ========= 5
rm ======= 4
find ======= 4
history ===== 3
export ==== 2
env ==== 2
diskutil ==== 2
-------------------------------------------------------------------------------
if you don't see your graph updating after running a few commands, this is
because the working history is stored in memory, and not the history file.
running history -a should update the history file and you'll be good to
go!