Skip to content

Commit

Permalink
Merge pull request #21 from mblack88/patch-1
Browse files Browse the repository at this point in the history
Added instructions for setting up the **bash** shell
  • Loading branch information
crichID authored Sep 20, 2018
2 parents f906a6c + 470bdf2 commit 0efbb8b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions historytailbash
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# Add the following 2 lines to your ~/.bashrc file to tell bash to save your history
# to the history file after each command rather than after shell exit
#
# shopt -s histappend
# PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
#

#Ensure we have the quantity specified on the CLI
if [ -z "$2" ]; then ARG_ERR=ERR; fi
if [ -z "$1" ]; then ARG_ERR=ERR; fi
Expand Down

0 comments on commit 0efbb8b

Please sign in to comment.