aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-11-11 18:47:26 +0000
committerYann Herklotz <git@yannherklotz.com>2021-11-11 18:50:30 +0000
commit7937f9e96e2e04528d4e39fc1427a4926cb4bf8b (patch)
treeaf9fbc1fbb307854fc2e40d5f53296f518fca660 /zsh
parent3f9a68568353edf8721004b326a3331a07e212af (diff)
downloaddotfiles-7937f9e96e2e04528d4e39fc1427a4926cb4bf8b.tar.gz
dotfiles-7937f9e96e2e04528d4e39fc1427a4926cb4bf8b.zip
Add more configurations
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 157da7d..d3555fc 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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