Browse Source

Don't put taskwarrior commands to history

Since task IDs are dynamic in taskwarrior, commands like `task 4 delete`
and `task 4 done` can be destructive with hard-to-trace damage if
inadverently repeated.

Better to avoid that, even at cost of not remembering anything.

(Note that `task` without arguments is still remembered; there's no harm
in repeating that, and it still can be convenient eg. w/ ^L).
Alois Mahdal 9 years ago
parent
commit
55a4088d80
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dotfiles/bash/main.bashrc

+ 1
- 0
dotfiles/bash/main.bashrc View File

149
 
149
 
150
 HISTIGNORE="$HISTIGNORE:ls:ll:la:cd"
150
 HISTIGNORE="$HISTIGNORE:ls:ll:la:cd"
151
 HISTIGNORE="$HISTIGNORE:git dc:git st"
151
 HISTIGNORE="$HISTIGNORE:git dc:git st"
152
+HISTIGNORE="$HISTIGNORE:task *:git dc:git st"
152
 #export HISTIGNORE="$HISTIGNORE:se *:sc *"
153
 #export HISTIGNORE="$HISTIGNORE:se *:sc *"
153
 HISTSIZE=-1
154
 HISTSIZE=-1
154
 HISTFILESIZE=100000
155
 HISTFILESIZE=100000