-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tmux support including asciinema video
- Loading branch information
Kumar Gopal
committed
Dec 2, 2024
1 parent
7364360
commit 565092a
Showing
3 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# List of plugins | ||
set -g @plugin 'tmux-plugins/tpm' | ||
|
||
# Add other plugins here | ||
set -g @plugin 'tmux-plugins/tmux-resurrect' | ||
|
||
set -g @plugin 'tmux-plugins/tmux-continuum' | ||
set -g @continuum-restore 'on' | ||
|
||
|
||
# Initialize TPM (keep this line at the very bottom of tmux.conf) | ||
run '~/.tmux/plugins/tpm/tpm' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[Unit] | ||
Description=Tmux session manager | ||
After=multi-user.target | ||
|
||
[Service] | ||
Type=forking | ||
User=<your-username> | ||
WorkingDirectory=/home/<your-username> | ||
ExecStart=/usr/bin/tmux new-session -d -s default | ||
ExecStop=/usr/bin/tmux kill-session -t default | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=multi-user.target |