Skip to content

Commit

Permalink
Use tsm instead of tmux-sessions as the dir name of the home
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertAudi committed Jun 2, 2019
1 parent 09f592e commit 7fa2172
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ tsm <command> [args...]
Configuration
-------------

- `$TSM_HOME` (**default:** `$XDG_DATA_HOME/tmux-sessions`)
- `$TSM_HOME` (**default:** `$XDG_DATA_HOME/tsm`)
- `$TSM_SESSIONS_DIR` (**default:** `$TSM_HOME/sessions`)
- `$TSM_BACKUPS_DIR` (**default:** `$TSM_HOME/backups`)
- `$TSM_DEFAULT_SESSION_FILE` (**default:** `$TSM_HOME/default-session.txt`)
Expand Down
2 changes: 1 addition & 1 deletion src/core/configuration.zsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# |Configuration| {{{
# ------------------------------------------------------------------------------

: ${TSM_HOME:=${XDG_DATA_HOME:-$HOME/.local/share}/tmux-sessions}
: ${TSM_HOME:=${XDG_DATA_HOME:-$HOME/.local/share}/tsm}
: ${TSM_SESSIONS_DIR:=$TSM_HOME/sessions}
: ${TSM_BACKUPS_DIR:=$TSM_HOME/backups}
: ${TSM_DEFAULT_SESSION_FILE:=$TSM_HOME/default-session.txt}
Expand Down

0 comments on commit 7fa2172

Please sign in to comment.