From d9616dfa17e5cf4070b462d24a6e561efa3acea4 Mon Sep 17 00:00:00 2001
From: goodhumored <goodhumored@vk.com>
Date: Tue, 17 Sep 2024 13:23:01 +0300
Subject: [PATCH] tmux and zsh configs updated

---
 .tmux.conf |  7 ++++---
 .zshrc     | 26 +++-----------------------
 2 files changed, 7 insertions(+), 26 deletions(-)

diff --git a/.tmux.conf b/.tmux.conf
index 98b447c..2962eae 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -48,9 +48,7 @@ set-option -g automatic-rename on
 set-option -g automatic-rename-format '#{b:pane_current_path}'
 
 #   ──────────────────────── some terminal options ──────────────────────
-set -g default-terminal "xterm-256color"
-set -ga terminal-overrides ",xterm-256color:Tc"
-set -g default-terminal "screen-256color"
+set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'  # underscore colours - needs tmux-3.0
 
 #   ─────────────────────────────── copying ─────────────────────────────
 set -g set-clipboard on
@@ -64,6 +62,9 @@ set -g pane-base-index 1
 set-window-option -g pane-base-index 1
 set-option -g renumber-windows on
 
+#   ───────────────────────── enabling passthrough ─────────────────────────
+set -g allow-passthrough on
+set -g visual-activity off
 
 #          ╭──────────────────────────────────────────────────────────╮
 #          │                         Plugins                          │
diff --git a/.zshrc b/.zshrc
index 1e2f0aa..7a560c0 100644
--- a/.zshrc
+++ b/.zshrc
@@ -42,27 +42,6 @@ case ":$PATH:" in
   *":$PNPM_HOME:"*) ;;
   *) export PATH="$PNPM_HOME:$PATH" ;;
 esac
-alias n="pnpm"
-alias v="nvim"
-alias lv="lvim"
-alias vim="nvim"
-alias ni="n i"
-alias ns="n start"
-alias nsd="n start:dev"
-alias nt="n test"
-alias ntd="n test:dev"
-# pnpm end
-
-# eza
-if command -v eza > /dev/null; then
-  alias ls="eza"
-  alias ll="eza --long --git --icons=always --no-user --no-permissions"
-  alias tree="eza --tree"
-fi
-# cat -> bat
-if command -v bat > /dev/null; then 
-  alias cat="bat" 
-fi
 
 # fzf customization
 if command -v fd > /dev/null; then
@@ -110,10 +89,11 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr
 export PATH=/usr/local/texlive/2023/bin/x86_64-linux:$PATH
 
 export QSYS_ROOTDIR="/home/goodhumored/intelFPGA/22.1std/quartus/sopc_builder/bin"
-export TERM="screen-256color"
+# export TERM="xterm-256color"
 
 export LM_LICENSE_FILE=C:\\flexlm\\lic_modelsim.txt
 export PATH=$HOME/.local/bin:$PATH
 
-eval "$(zoxide init --cmd cd zsh)"
+source ~/.aliases.sh
+
 eval "$(fzf --zsh)"