Преглед на файлове

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 години
родител
ревизия
55a4088d80
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1
    0
      dotfiles/bash/main.bashrc

+ 1
- 0
dotfiles/bash/main.bashrc Целия файл

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