Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
tmuxp ls: Fix help message
  • Loading branch information
tony committed Jul 10, 2020
commit 5e7b9526477eb1d518ad2f844e586f0fc4f3e1da
4 changes: 3 additions & 1 deletion tmuxp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,9 @@ def command_convert(config):
print('New config saved to <%s>.' % newfile)


@cli.command(name='ls', short_help='List configured sessions in $HOME/.tmuxp dir.')
@cli.command(
name='ls', short_help='List configured sessions in {}.'.format(get_config_dir())
)
def command_ls():
tmuxp_dir = get_config_dir()
if os.path.exists(tmuxp_dir) and os.path.isdir(tmuxp_dir):
Expand Down