From 72b56e45d76f5370f7566b643ed97d631ca9e39c Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Tue, 4 Jun 2024 19:06:58 +0200 Subject: update --- .bashrc | 4 ++-- .profile | 2 +- .tmux.conf | 3 +++ .wezterm.lua | 7 +++++-- 4 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .tmux.conf diff --git a/.bashrc b/.bashrc index e993f54..f83f87b 100644 --- a/.bashrc +++ b/.bashrc @@ -108,10 +108,10 @@ export YAEGI_SYSCALL=1 mkcd() { mkdir -p "$1" && cd "$1"; } -mosht() { mosh "$@" -- tmux new -A; } +mosht() { mosh "$@" -- tmux a; } export -f mosht -ssht() { ssh -t "$@" -- tmux new -A; } +ssht() { ssh -t "$@" -- tmux a; } export -f ssht mpvx() { mpv --vo=sixel --profile=sw-fast --really-quiet "$@"; } diff --git a/.profile b/.profile index a998c48..c5fe22f 100644 --- a/.profile +++ b/.profile @@ -1,6 +1,6 @@ # ~/.profile -PATH=~/bin:~/mu/bin:/opt/homebrew/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/opt/tcl-tk/bin:$PATH:~/go/bin:~/.cargo/bin:~/.pyenv/versions/2.7.18/bin +PATH=~/bin:~/mu/bin:/opt/homebrew/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/opt/tcl-tk/bin:$PATH:~/go/bin:~/.cargo/bin:~/.pyenv/versions/2.7.18/bin:~/.local/bin export REPLYTO='mvertes@free.fr' export LANG=en_US.UTF-8 diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..42cd492 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,3 @@ +new-session +setw -g mouse on +set -g history-limit 30000 diff --git a/.wezterm.lua b/.wezterm.lua index 51c95e5..7ba6e31 100644 --- a/.wezterm.lua +++ b/.wezterm.lua @@ -1,12 +1,15 @@ local wezterm = require 'wezterm' +local act = wezterm.action local config = wezterm.config_builder() -config.color_scheme = 'GruvboxDarkHard' +config.color_scheme = 'GruvboxDarkHard' -- dark +-- config.color_scheme = 'Modus-Operandi' -- light + config.pane_focus_follows_mouse = true config.hide_tab_bar_if_only_one_tab = true config.colors = { - cursor_bg = "#d00000" + cursor_bg = "#d00000", } return config -- cgit v1.2.3