Remove shebang from tmux scripts, they're sourced anyway.
This commit is contained in:
parent
b69de0413d
commit
2ff063d95b
5 changed files with 0 additions and 9 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
session_name=$1
|
session_name=$1
|
||||||
tmux new-session -d -s $session_name
|
tmux new-session -d -s $session_name
|
||||||
tmux switch-client -t $session_name
|
tmux switch-client -t $session_name
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
# Run fzf-tmux in the background and serialize the input
|
# Run fzf-tmux in the background and serialize the input
|
||||||
(
|
(
|
||||||
current_session=$(tmux display-message -p '#S')
|
current_session=$(tmux display-message -p '#S')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
source_pane=$(tmux display-message -p '#{pane_id}')
|
source_pane=$(tmux display-message -p '#{pane_id}')
|
||||||
target_window=$1
|
target_window=$1
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/zsh
|
|
||||||
# program blacklist
|
# program blacklist
|
||||||
# program=$(
|
# program=$(
|
||||||
# ps -o comm= -t "$(tmux display-message -p '#{pane_tty}')" 2>/dev/null \
|
# ps -o comm= -t "$(tmux display-message -p '#{pane_tty}')" 2>/dev/null \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
desired_state=$1
|
desired_state=$1
|
||||||
current_state=$(tmux show-environment -g @resize_mode 2>/dev/null | cut -d '=' -f 2)
|
current_state=$(tmux show-environment -g @resize_mode 2>/dev/null | cut -d '=' -f 2)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue