[shellrc] add fixagent alias

This commit is contained in:
Marco Thomas
2022-11-04 18:15:15 +01:00
parent 20a716a7be
commit 38bd10f7c9
2 changed files with 2 additions and 1 deletions

View File

@@ -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 truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash'
alias nssh='SSH_AUTH_SOCK= ssh' alias nssh='SSH_AUTH_SOCK= ssh'
alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"' alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"'
alias fixagent='eval $(tmux show-env -s | grep "^SSH_")'
# nmcli # nmcli
alias con='nmcli con' alias con='nmcli con'

View File

@@ -77,7 +77,7 @@ let g:tmuxline_preset = {
\'c' : '', \'c' : '',
\'win' : ['#I', '#W'], \'win' : ['#I', '#W'],
\'cwin' : ['#[fg=black,bold]#I', '#W'], \'cwin' : ['#[fg=black,bold]#I', '#W'],
\'x' : '#H', \'x' : '#H @ #S',
\'y' : '', \'y' : '',
\'z' : ''} \'z' : ''}
let g:tmuxline_status_justify = 'centre' let g:tmuxline_status_justify = 'centre'