We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26ebe29 + 5b15928 commit 02b99e0Copy full SHA for 02b99e0
home/exact_dot_tmuxifier/layouts/config.session.sh.tmpl
@@ -0,0 +1,15 @@
1
+# vim: syntax=sh
2
+# Set a custom session root path. Default is `$HOME`.
3
+# Must be called before `initialize_session`.
4
+session_root {{ .chezmoi.homeDir | quote }}
5
+
6
+# Create session with specified name if it does not already exist. If no
7
+# argument is given, session name will be based on layout file name.
8
+if initialize_session "dot_config"; then
9
+ new_window "editor"
10
+ select_window 1
11
+ run_cmd "vim ."
12
+fi
13
14
+# Finalize session creation and switch/attach to it.
15
+finalize_and_go_to_session
0 commit comments