some changes

This commit is contained in:
PieckA 2024-05-25 12:53:49 +02:00
parent 3e72426264
commit d9ca8858cb
2 changed files with 10 additions and 13 deletions

3
.gitignore vendored
View file

@ -2,3 +2,6 @@ dotfiles/.config/rofi/pywal-color/pywal-theme.rasi
completions/fisher.fish completions/fisher.fish
functions/fisher.fish functions/fisher.fish
fisher.fish fisher.fish
conf.d/
fish_plugins
completions/

View file

@ -1,13 +1,7 @@
if command -v tmux /dev/null 2>&1 function ta
function ta if command -v tmux list-sessions /dev/null 2>&1
command tmux list-sessions /dev/null 2>&1  tmux a
switch $status  else
case '0'  tmux
tmux a  end
case '*' end
echo "-- there are no tmux sessions | creating one now.. "
sleep 0.7
tmux
end
end
end