From be2b253dbc4822bc35e72236d12b82adb087e108 Mon Sep 17 00:00:00 2001 From: Hedy Li Date: Wed, 18 Aug 2021 13:16:49 +0800 Subject: [PATCH] set TERM to tmux-256color, modify weerc, add tmux pkg manager to setup --- .exportenvs | 2 +- .weechat/.weerc | 33 +++++++++++++++++++++++++++++++++ _scripts/setup | 2 ++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/.exportenvs b/.exportenvs index 6184182..bb7a78c 100644 --- a/.exportenvs +++ b/.exportenvs @@ -5,5 +5,5 @@ export DOOMDIR=~/.config/doom/ export EMACSDIR=~/.doomemacs/ export BROWSER=w3m export FILEMAN=ranger -export TERM=xterm-256color +export TERM=tmux-256color export GPG_TTY=$(tty) diff --git a/.weechat/.weerc b/.weechat/.weerc index 1dfd05c..9ce2cdb 100644 --- a/.weechat/.weerc +++ b/.weechat/.weerc @@ -39,3 +39,36 @@ */set autosort.v3.helpers "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "hashless_name": "${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "script_or_plugin": "${if:${script_name}?${script_name}:${plugin}}"}" */set script.scripts.download_enabled on */set script.scripts.path "%h/script" +*/set weechat.look.day_change_message_1date "-- %d %b %Y --" +*/set weechat.look.day_change_message_2dates "-- %%d %%b %%Y (%d %b %Y) --" +*/set weechat.look.hotlist_names_merged_buffers on +*/set weechat.look.hotlist_prefix "H " +*/set weechat.look.hotlist_short_names off +*/set weechat.look.mouse on +*/set weechat.look.nick_prefix "<" +*/set weechat.look.nick_suffix ">" +*/set weechat.look.prefix_suffix "" +*/set weechat.completion.nick_completer ":" +*/set weechat.plugin.path "%h/plugins" +*/set weechat.bar.buflist.items "buflist" +*/set weechat.bar.fset.items "fset" +*/set weechat.bar.highmon.items "highmon" +*/set logger.look.backlog 1000 +*/set logger.file.path "%h/logs/" +*/set buflist.format.hotlist_separator "${color:cyan}," +*/set fifo.file.path "%h/weechat_fifo" +*/set xfer.file.download_path "%h/xfer" +*/set irc.look.display_away off +*/set irc.look.server_buffer independent +*/set irc.look.smart_filter off +*/set irc.server_default.msg_quit "I rarely quits, so I'm most probably testing something" +*/set irc.server_default.realname "hedy" +*/set relay.color.status_active lightblue +*/set relay.color.status_auth_failed lightred +*/set relay.color.status_connecting yellow +*/set relay.color.status_waiting_auth brown +*/set relay.network.ssl_cert_key "%h/ssl/relay.pem" +*/set relay.irc.backlog_max_minutes 10080 +*/set autosort.v3.helpers "{"core_first": "${if:${buffer.full_name}!=core.weechat}", "hashless_name": "${info:autosort_replace,#,,${info:autosort_escape,${buffer.name}}}", "irc_raw_first": "${if:${buffer.full_name}!=irc.irc_raw}", "irc_raw_last": "${if:${buffer.full_name}==irc.irc_raw}", "script_or_plugin": "${if:${script_name}?${script_name}:${plugin}}"}" +*/set script.scripts.download_enabled on +*/set script.scripts.path "%h/script" diff --git a/_scripts/setup b/_scripts/setup index 8528a13..74bbedb 100755 --- a/_scripts/setup +++ b/_scripts/setup @@ -4,3 +4,5 @@ echo "creating local git config" touch ~/.gitconfig-local echo "creating local fish config" touch ~/.config/fish/config_local.fish +echo "installing tmux package manager" +git clone https://github.com/tmux-plugins/tpm .tmux/plugins/tpm