From 4ccdb6fb1f53bc6c799ece8c2f03a0fede093acd Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 31 Mar 2025 12:16:47 -0400 Subject: config cleanup --- .local/bin/tmux-r | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 .local/bin/tmux-r (limited to '.local/bin/tmux-r') diff --git a/.local/bin/tmux-r b/.local/bin/tmux-r deleted file mode 100755 index 6b4819c..0000000 --- a/.local/bin/tmux-r +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -session="R" - -# Check if the session exists, discarding output -# We can check $? for the exit status (zero for success, non-zero for failure) -tmux has-session -t $session 2>/dev/null - -if [ $? != 0 ]; then - # Set up your session - tmux new-session -d -s "$session" R -q --no-save - # R -q --no-save - # ([ -e /usr/bin/R ] && R -q --no-save) || python -q -fi - -# Attach to created session -tmux attach-session -t $session -- cgit v1.2.3