aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-01-19 01:23:09 +0300
committereug-vs <eugene@eug-vs.xyz>2022-01-19 01:23:09 +0300
commitdb8bbbb54c8767b987b217908e5ef9fa28e2c890 (patch)
tree8991b8fbb562c650645785ea90580b6b5df48dba
parent69fb24fdd9f74038978ac413548e0b40f8ca8969 (diff)
downloaddotfiles-db8bbbb54c8767b987b217908e5ef9fa28e2c890.tar.gz
feat(zsh): do not use tmuxinator
-rw-r--r--zsh/.zshrc4
1 files changed, 3 insertions, 1 deletions
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
}