Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ and this project adheres to

## [Unreleased]

### Added

- `sinteractive list --full`, which adds node, partition and elapsed/limit
to the human table. The default now shows job id, name, time remaining
and cwd instead of node/partition/elapsed/timelimit/cwd, so the common
case fits without the columns most people never look up.

### Fixed

- `list`'s CWD column, which always showed `-`. It now reads the pane's
live working directory from `/proc/<pid>/cwd` on the session's node
(zellij, unlike tmux, has no built-in query for a pane's current
directory), fetched over ssh in parallel across sessions.

## [1.3.0] - 2026-09-07

### Added
Expand Down
40 changes: 37 additions & 3 deletions completions/sinteractive.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ _sinteractive() {
sinteractive,__job)
cmd="sinteractive__subcmd____job"
;;
sinteractive,__pane-cwd)
cmd="sinteractive__subcmd____pane__subcmd__cwd"
;;
sinteractive,__popup)
cmd="sinteractive__subcmd____popup"
;;
Expand Down Expand Up @@ -223,6 +226,9 @@ _sinteractive() {
sinteractive__subcmd__help,__job)
cmd="sinteractive__subcmd__help__subcmd____job"
;;
sinteractive__subcmd__help,__pane-cwd)
cmd="sinteractive__subcmd__help__subcmd____pane__subcmd__cwd"
;;
sinteractive__subcmd__help,__popup)
cmd="sinteractive__subcmd__help__subcmd____popup"
;;
Expand Down Expand Up @@ -446,7 +452,7 @@ _sinteractive() {

case "${cmd}" in
sinteractive)
opts="-p -t -j -m -n -l -a -h -V --node --partition --time --threads --mem --name --mouse --no-mouse --detach --json --status --refresh --list --ensure --attach --cancel --check-quota --agent-context --install-claude --help --version launch attach list status cancel queue monitor quota doctor session claude gen ensure peek send events refresh snapshot agent-context hook statusline mcp install-claude completions man schema __job __attach __popup help"
opts="-p -t -j -m -n -l -a -h -V --node --partition --time --threads --mem --name --mouse --no-mouse --detach --json --status --refresh --list --ensure --attach --cancel --check-quota --agent-context --install-claude --help --version launch attach list status cancel queue monitor quota doctor session claude gen ensure peek send events refresh snapshot agent-context hook statusline mcp install-claude completions man schema __job __attach __popup __pane-cwd help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down Expand Up @@ -563,6 +569,20 @@ _sinteractive() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
sinteractive__subcmd____pane__subcmd__cwd)
opts="-h --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
sinteractive__subcmd____popup)
opts="-h --help monitor queue help notices rename"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
Expand Down Expand Up @@ -1270,7 +1290,7 @@ _sinteractive() {
return 0
;;
sinteractive__subcmd__help)
opts="launch attach list status cancel queue monitor quota doctor session claude gen ensure peek send events refresh snapshot agent-context hook statusline mcp install-claude completions man schema __job __attach __popup help"
opts="launch attach list status cancel queue monitor quota doctor session claude gen ensure peek send events refresh snapshot agent-context hook statusline mcp install-claude completions man schema __job __attach __popup __pane-cwd help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down Expand Up @@ -1311,6 +1331,20 @@ _sinteractive() {
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
sinteractive__subcmd__help__subcmd____pane__subcmd__cwd)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
sinteractive__subcmd__help__subcmd____popup)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
Expand Down Expand Up @@ -2266,7 +2300,7 @@ _sinteractive() {
return 0
;;
sinteractive__subcmd__list)
opts="-h --json --help"
opts="-h --full --json --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down
Loading
Loading