From 38bd10f7c96f16f2b4e10c5fc01f35f23bb72c63 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Fri, 4 Nov 2022 18:15:15 +0100 Subject: [PATCH] [shellrc] add fixagent alias --- files/shell/.shellrc.alias | 1 + files/vim/.vimrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/files/shell/.shellrc.alias b/files/shell/.shellrc.alias index 45edd94..1d2ba6c 100644 --- a/files/shell/.shellrc.alias +++ b/files/shell/.shellrc.alias @@ -23,6 +23,7 @@ alias mv='mv -i' alias truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash' alias nssh='SSH_AUTH_SOCK= ssh' alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"' +alias fixagent='eval $(tmux show-env -s | grep "^SSH_")' # nmcli alias con='nmcli con' diff --git a/files/vim/.vimrc b/files/vim/.vimrc index 5043598..077e17a 100644 --- a/files/vim/.vimrc +++ b/files/vim/.vimrc @@ -77,7 +77,7 @@ let g:tmuxline_preset = { \'c' : '', \'win' : ['#I', '#W'], \'cwin' : ['#[fg=black,bold]#I', '#W'], - \'x' : '#H', + \'x' : '#H @ #S', \'y' : '', \'z' : ''} let g:tmuxline_status_justify = 'centre'