Recipe for shell-history