From 32a672607691b19f3c6c319a7e22c9afe743f20a Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Thu, 19 Dec 2019 20:46:19 +0300 Subject: [PATCH] hstr: Adjust variables and add blacklist file --- .gitignore | 2 -- etc/rc.darwin19 | 2 +- etc/rc.linux-gnu | 2 +- etc/shell/bash/bashrc | 5 +++-- etc/shell/hstr/hstr_blacklist | 47 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 52 insertions(+), 6 deletions(-) create mode 100644 etc/shell/hstr/hstr_blacklist diff --git a/.gitignore b/.gitignore index 7389bed..df56b98 100644 --- a/.gitignore +++ b/.gitignore @@ -29,8 +29,6 @@ etc/net/ssh/* etc/shell/cw -etc/shell/hstr/hh_blacklist - etc/soft/antiword etc/soft/figlet etc/soft/jodconverter diff --git a/etc/rc.darwin19 b/etc/rc.darwin19 index 6568eff..f288b3e 100644 --- a/etc/rc.darwin19 +++ b/etc/rc.darwin19 @@ -14,7 +14,7 @@ mkdir -p ~/.config/dunst - shell/tcl/tclshrc ~ - shell/tcl/wishrc ~ - shell/screen/screenrc ~ -- shell/hstr/hh_blacklist ~ ++ shell/hstr/hstr_blacklist ~ # [ X.org ] diff --git a/etc/rc.linux-gnu b/etc/rc.linux-gnu index c4849e2..936d67d 100644 --- a/etc/rc.linux-gnu +++ b/etc/rc.linux-gnu @@ -14,7 +14,7 @@ mkdir -p ~/.config/dunst + shell/tcl/tclshrc ~ + shell/tcl/wishrc ~ - shell/screen/screenrc ~ -+ shell/hstr/hh_blacklist ~ ++ shell/hstr/hstr_blacklist ~ # [ X.org ] diff --git a/etc/shell/bash/bashrc b/etc/shell/bash/bashrc index 81548ae..9ee4a64 100755 --- a/etc/shell/bash/bashrc +++ b/etc/shell/bash/bashrc @@ -1,6 +1,6 @@ #!/bin/bash #################################################################### # -# Изменён: чт 14 ноя 2019 00:41:12 +# Изменён: чт 19 дек 2019 20:41:05 # ################################################################################ @@ -16,7 +16,8 @@ export INPUTRC="$BASHRC/inputrc" #Файл inputrc export GTK_IM_MODULE="xim" #Метод ввода Χ export QT_IM_MODULE="xim" #Метод ввода Χ -export HH_CONFIG="keywords,blacklist,rawhistory" #hstr +export HSTR_CONFIG="keywords-matching,blacklist,hicolor" #hstr +export HSTR_PROMPT="> " export STARDICT_DATA_DIR=$SHELLRC/etc/soft/sdcv/dictionaries/ export SDCV_HISTSIZE=10000 diff --git a/etc/shell/hstr/hstr_blacklist b/etc/shell/hstr/hstr_blacklist new file mode 100644 index 0000000..9b40ab1 --- /dev/null +++ b/etc/shell/hstr/hstr_blacklist @@ -0,0 +1,47 @@ +startx +.shellrc/ +dus +alsamixer +,ww +ping ya.ru +,w,w +htop +g url +g df . +g p +g u +vifm +hstr +dus * +dus . +vim +docker ps +make +mpd +.shellrc +g lf +g st +g lu +g ls +docker images +,m +.. +.- +g add . +~ +reload +:q +g u | sh +geeqie . +mutt +g df +easytag . +./Downloads/ +cd +hh +kz +mc +ls +g st . +su +shutdown -h now