diff --git a/nvim/.local/share/nvim/site/pack/packer/start/packer.nvim b/nvim/.local/share/nvim/site/pack/packer/start/packer.nvim index c5e98e3..4dedd3b 160000 --- a/nvim/.local/share/nvim/site/pack/packer/start/packer.nvim +++ b/nvim/.local/share/nvim/site/pack/packer/start/packer.nvim @@ -1 +1 @@ -Subproject commit c5e98e3ca84843dbae47cd8f3a76bc38c6404241 +Subproject commit 4dedd3b08f8c6e3f84afbce0c23b66320cd2a8f2 diff --git a/zsh/.zshrc.d/alias b/zsh/.zshrc.d/alias index a4efb9f..0f5e1b3 100644 --- a/zsh/.zshrc.d/alias +++ b/zsh/.zshrc.d/alias @@ -88,3 +88,11 @@ function removeknowhost (){ sed -i "/^$1/d" ~/.ssh/known_hosts fi } + +function tmux-bootstrap () { + tmux new-window + tmux new-window -n note nvim ~/home/notes2 + tmux new-window 'note' + tmux new-window 'ncmpcpp' + tmux select-window -t :1 +} diff --git a/zsh/.zshrc.d/prompt b/zsh/.zshrc.d/prompt index 9b62aa8..3d42ab1 100644 --- a/zsh/.zshrc.d/prompt +++ b/zsh/.zshrc.d/prompt @@ -21,7 +21,7 @@ zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} ##if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]]; then - tmux attach-session -t $(hostname) || tmux new-session -s $(hostname) + tmux new-session -t $(hostname) || tmux new-session -s $(hostname) fi