Added history dealing for bash