backup.session.sh 335 B

123456789101112
  1. #!/bin/sh
  2. # Create session with specified name if it does not already exist. If no
  3. # argument is given, session name will be based on layout file name.
  4. if initialize_session "backup"; then
  5. # Load a defined window layout.
  6. load_window "backup"
  7. fi
  8. # Finalize session creation and switch/attach to it.
  9. finalize_and_go_to_session