Workspace ManagerstableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

tmuxp.workspace.finders.in_cwd

tmuxp.workspace.finders.in_cwd () → list[str]

Return list of workspace_files in current working directory.

Description#

If filename is .tmuxp.py, .tmuxp.json, .tmuxp.yaml.

Examples#

>>> sorted(in_cwd())
['.tmuxp.json', '.tmuxp.yaml']
Returns

list workspace_files in current working directory

Esc

Type to search.

Reference preview Open reference