some ref
This commit is contained in:
parent
a69fd53fc3
commit
325c2a9f25
@ -135,4 +135,4 @@ fi
|
|||||||
alias black='convert canvas:none PNG:- | feh -YF -'
|
alias black='convert canvas:none PNG:- | feh -YF -'
|
||||||
|
|
||||||
# :)
|
# :)
|
||||||
alias PINK='beep -f 234 -l 550 -n -f 350 -l 450 -n -f 194 -l 450 -n -f 328 -l 550'
|
alias PINK='beep -f 233 -l 440 -n -f 349 -l 440 -n -f 196 -l 440 -n -f 330 -l 650'
|
||||||
@ -9,9 +9,10 @@ WORKING_PROJECT="$HOME/dotfiles"
|
|||||||
|
|
||||||
if ! tmux has-session -t "$SESSION"; then
|
if ! tmux has-session -t "$SESSION"; then
|
||||||
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
||||||
tmux send-keys -t "$SESSION:$MAINW" '$EDITOR' Enter
|
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_new_pane_size" -c '#{pane_current_path}'
|
||||||
tmux send-keys -t "$SESSION:$MAINW" , f f
|
tmux send-keys -t "$SESSION:$MAINW.2" '$EDITOR' Enter
|
||||||
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l $_tmux_new_pane_size -c '#{pane_current_path}'
|
tmux send-keys -t "$SESSION:$MAINW.2" , f f
|
||||||
|
tmux send-keys -t "$SESSION:$MAINW.1" "git pull" Enter
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmux switch-client -t "$SESSION"
|
tmux switch-client -t "$SESSION"
|
||||||
@ -8,4 +8,5 @@ MAINW=1
|
|||||||
WORKING_PROJECT="$(mktemp -d)"
|
WORKING_PROJECT="$(mktemp -d)"
|
||||||
|
|
||||||
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
||||||
tmux switch-client -t "$SESSION"
|
tmux switch-client -t "$SESSION"
|
||||||
|
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l "$_tmux_new_pane_size" -c '#{pane_current_path}'
|
||||||
Loading…
x
Reference in New Issue
Block a user