Merge branch 'main' into server

This commit is contained in:
Fabian Ising
2022-10-26 15:26:24 +02:00
19 changed files with 1611 additions and 44 deletions

View File

@@ -65,7 +65,6 @@ set -g @yank_action 'copy-pipe'
if '[ `uname` == Darwin ]' \
'source-file ~/.tmux/.mac_config'
#source-file ~/.tmux/.tmux_config_powerline
set-option -g set-titles on

View File

@@ -1 +0,0 @@
source /usr/lib/python3.10/site-packages/powerline/bindings/tmux/powerline.conf

View File

@@ -1 +0,0 @@
source /usr/share/powerline/bindings/tmux/powerline.conf

View File

@@ -1,2 +0,0 @@
source $HOME/.local/lib/python3.9/site-packages/powerline/bindings/tmux/powerline.conf

View File

@@ -1 +0,0 @@
source '/usr/local/lib/python3.10/site-packages/powerline/bindings/tmux/powerline.conf'

13
tmux/tmux_attach.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
#
# tmux-attach - attach to first unattached session or
# create new session if none are found
#
N=$(tmux ls | grep -v attached | head -1 | cut -d: -f1)
if [[ ! -z $N ]]
then
ATTACH_OPTS="attach -t $N"
fi
exec tmux $ATTACH_OPTS