Record command history
This commit is contained in:
parent
9703310008
commit
ddc8b84d0d
1 changed files with 1 additions and 0 deletions
1
q
1
q
|
@ -116,6 +116,7 @@ if [[ ! -z "$COMMAND" ]]; then
|
|||
if [[ "$DRYRUN" == "1" ]]; then
|
||||
"$Q_SCRIPT_DIR/$SCRIPTS" --dry-run "$COMMAND"
|
||||
else
|
||||
echo "$@" >> ~/.q_history
|
||||
"$Q_SCRIPT_DIR/$SCRIPTS" "$COMMAND"
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue