From db8bbbb54c8767b987b217908e5ef9fa28e2c890 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 19 Jan 2022 01:23:09 +0300 Subject: feat(zsh): do not use tmuxinator --- zsh/.zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index f249b00..1335cc9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -50,7 +50,9 @@ function fzf-tmux-project() { find "$HOME/Documents/Projects" -type d -exec test -e '{}/.git' ';' -print -prune | fzf --height 20% -m | while read root; do name=$(basename "$root") echo Starting $name - tmuxinator start --no-attach -p=$HOME/.config/tmuxinator/.template.yml name=$name root=$root 2>/dev/null + cd $root + tmux new-session -d -s $name \; send-keys "nvim" Enter \; split-window -h \; resize-pane -R 50 \; rename-window editor + cd - done; zle accept-line } -- cgit v1.2.3