Create BASH scripts from history.