all repos — dotfiles @ a6f247f556076bad7b7ef1ea2ac859edf10c26fa

my *nix dotfiles

bash: Remove dupes in reverse search
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Jul 2021 19:41:12 +0530
commit

a6f247f556076bad7b7ef1ea2ac859edf10c26fa

parent

e21d6f102d9e8747965398a42335af68e98e0d33

M bash/.bashrcbash/.bashrc

@@ -29,7 +29,7 @@ bind '"\C-w": backward-kill-word'

# fzy reverse search __fzy_history() { - ch="$(fc -l 1000 | fzy | cut -f2)" + ch="$(fc -l 1 | awk -F'\t' '{print $2}' | sort -u | fzy)" : "${ch#"${ch%%[![:space:]]*}"}" printf "$_" }
M weechat/buflist.confweechat/buflist.conf

@@ -4,7 +4,7 @@ #

# WARNING: It is NOT recommended to edit this file by hand, # especially if WeeChat is running. # -# Use /set or similar command to change settings in WeeChat. +# Use commands like /set or /fset to change settings in WeeChat. # # For more info, see: https://weechat.org/doc/quickstart #

@@ -38,3 +38,4 @@ lag = " ${color:green}[${color:brown}${lag}${color:green}]"

name = "${name}" nick_prefix = "${color_nick_prefix}${nick_prefix}" number = "${color:green}${number}${if:${number_displayed}?.: }" +tls_version = " ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}${translate:${tls_version}}${color:default})"
M weechat/fset.confweechat/fset.conf

@@ -4,7 +4,7 @@ #

# WARNING: It is NOT recommended to edit this file by hand, # especially if WeeChat is running. # -# Use /set or similar command to change settings in WeeChat. +# Use commands like /set or /fset to change settings in WeeChat. # # For more info, see: https://weechat.org/doc/quickstart #
M weechat/irc.confweechat/irc.conf

@@ -4,7 +4,7 @@ #

# WARNING: It is NOT recommended to edit this file by hand, # especially if WeeChat is running. # -# Use /set or similar command to change settings in WeeChat. +# Use commands like /set or /fset to change settings in WeeChat. # # For more info, see: https://weechat.org/doc/quickstart #

@@ -75,6 +75,9 @@ item_channel_modes = default

item_lag_counting = default item_lag_finished = yellow item_nick_modes = default +item_tls_version_deprecated = yellow +item_tls_version_insecure = red +item_tls_version_ok = green message_account = cyan message_chghost = brown message_join = green
M weechat/sec.confweechat/sec.conf

@@ -4,7 +4,7 @@ #

# WARNING: It is NOT recommended to edit this file by hand, # especially if WeeChat is running. # -# Use /set or similar command to change settings in WeeChat. +# Use commands like /set or /fset to change settings in WeeChat. # # For more info, see: https://weechat.org/doc/quickstart #

@@ -17,4 +17,4 @@ salt = on

[data] __passphrase__ = on -znc = "3166A8C86FE039D1B4FD4073AE1298ECF2484BB9D4E567170902BC38B7CB8E266A3F36155E801E3EE739C3E0DC9DF1068D7B93" +znc = "03A40D371732C3B966FEE96C79641F9E9AC4AB131701DFA82727F63888A393E4B5FCAE763BED358651A3C061DC58F072DB93EC"
M weechat/weechat.confweechat/weechat.conf

@@ -4,7 +4,7 @@ #

# WARNING: It is NOT recommended to edit this file by hand, # especially if WeeChat is running. # -# Use /set or similar command to change settings in WeeChat. +# Use commands like /set or /fset to change settings in WeeChat. # # For more info, see: https://weechat.org/doc/quickstart #

@@ -242,7 +242,8 @@ emerald.username = ""

[network] connection_timeout = 60 -gnutls_ca_file = "/etc/ssl/certs/ca-certificates.crt" +gnutls_ca_system = on +gnutls_ca_user = "" gnutls_handshake_timeout = 30 proxy_curl = ""

@@ -252,6 +253,13 @@ debug = off

extension = ".so" path = "%h/plugins" save_config_on_unload = on + +[signal] +sighup = "${if:${info:weechat_headless}?/reload:/quit -yes}" +sigquit = "/quit -yes" +sigterm = "/quit -yes" +sigusr1 = "" +sigusr2 = "" [bar] buddylist.color_bg = default

@@ -395,19 +403,22 @@ default.buffer = "core;weechat;1"

default.buffer = "irc;server.libera;2" default.buffer = "irc;libera.##crustaceans;3" default.buffer = "irc;libera.#go-nuts;4" -default.buffer = "irc;libera.#kubernetes;5" -default.buffer = "irc;libera.#linux;6" -default.buffer = "irc;libera.#lobsters;7" -default.buffer = "irc;libera.#openbsd;8" -default.buffer = "irc;libera.#python;9" -default.buffer = "irc;libera.*sasl;10" -default.buffer = "irc;libera.*status;11" -default.buffer = "irc;server.rizon;12" -default.buffer = "irc;rizon.#buddy;13" -default.buffer = "irc;rizon.#bullshit;14" -default.buffer = "irc;rizon.#homescreen;15" -default.buffer = "irc;rizon.*sasl;16" -default.buffer = "irc;rizon.*status;17" +default.buffer = "irc;libera.#kisslinux;5" +default.buffer = "irc;libera.#kubernetes;6" +default.buffer = "irc;libera.#linux;7" +default.buffer = "irc;libera.#lobsters;8" +default.buffer = "irc;libera.#neovim;9" +default.buffer = "irc;libera.#openbsd;10" +default.buffer = "irc;libera.#python;11" +default.buffer = "irc;libera.*status;12" +default.buffer = "irc;libera.grumble;13" +default.buffer = "irc;libera.xy;14" +default.buffer = "irc;server.rizon;15" +default.buffer = "irc;rizon.#buddy;16" +default.buffer = "irc;rizon.#bullshit;17" +default.buffer = "irc;rizon.#homescreen;18" +default.buffer = "irc;rizon.#rice;19" +default.buffer = "irc;rizon.sayjay;20" default.window = "1;0;0;0;irc;rizon.Carp" default.current = on