Move files out of their respective fs structure into program dirs in root and symlink dotfils using HM.
This commit is contained in:
parent
10bab010b7
commit
fb2adb4547
72 changed files with 9 additions and 0 deletions
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/zsh
|
||||
|
||||
source_pane=$(tmux display-message -p '#{pane_id}')
|
||||
target_window=$1
|
||||
|
||||
window_exists=$(tmux list-windows -F '#I' | grep "^$target_window$")
|
||||
|
||||
if [ -z "$window_exists" ]; then
|
||||
tmux break-pane -d -t $target_window
|
||||
else
|
||||
target_pane=$(tmux list-panes -t $target_window -F '#{pane_id}' | sort | tail -n 1)
|
||||
tmux join-pane -d -s $source_pane -t $target_pane
|
||||
tmux select-layout -t $target_window main-vertical
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue