diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-11-11 18:47:26 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-11-11 18:50:30 +0000 |
commit | 7937f9e96e2e04528d4e39fc1427a4926cb4bf8b (patch) | |
tree | af9fbc1fbb307854fc2e40d5f53296f518fca660 /zsh | |
parent | 3f9a68568353edf8721004b326a3331a07e212af (diff) | |
download | dotfiles-7937f9e96e2e04528d4e39fc1427a4926cb4bf8b.tar.gz dotfiles-7937f9e96e2e04528d4e39fc1427a4926cb4bf8b.zip |
Add more configurations
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -42,3 +42,11 @@ bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down bindkey -M emacs '^P' history-substring-search-up bindkey -M emacs ^N history-substring-search-down + +if [[ -z $TMUX ]]; then + function start_tmux { + tmux new -d -s vericert -c ~/projects/vericert + tmux new -d -s main -c ~ + } + tmux attach || { start_tmux && tmux attach } +fi |