Delete add-tmux-file.patch

This commit is contained in:
Oliver Davies 2025-04-23 14:25:29 +01:00
parent dc2de9334d
commit 92b649595b
2 changed files with 0 additions and 16 deletions

View file

@ -1,15 +0,0 @@
diff --git a/tmux-sessionizer b/tmux-sessionizer
index fa1bec5..c9094e7 100755
--- a/tmux-sessionizer
+++ b/tmux-sessionizer
@@ -12,7 +12,9 @@ has_session() {
}
hydrate() {
- if [ -f $2/.tmux-sessionizer ]; then
+ if [ -f $2/.tmux ]; then
+ tmux send-keys -t $1 "source $2/.tmux" c-M
+ elif [ -f $2/.tmux-sessionizer ]; then
tmux send-keys -t $1 "source $2/.tmux-sessionizer" c-M
elif [ -f $HOME/.tmux-sessionizer ]; then
tmux send-keys -t $1 "source $HOME/.tmux-sessionizer" c-M

View file

@ -21,7 +21,6 @@ stdenv.mkDerivation {
patches = [
./move-default-script.patch
./add-tmux-file.patch
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/ThePrimeagen/tmux-sessionizer/pull/2.patch";