mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
fix: output format changed in zellij ls
(#770)
Hi. In the latest zellij (0.39.2), the output of `zellij ls` has been changed into the following example: ```bash rectangular-galaxy [Created 9h 21m 46s ago] (EXITED - attach to resurrect) gregarious-triceratops [Created 22h 48m 32s ago] (EXITED - attach to resurrect) ``` I updated the corresponding parsing code.
This commit is contained in:
parent
a60debf624
commit
25514da84d
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ def "nu-complete zellij attach" [] {
|
|||
}
|
||||
|
||||
def "nu-complete sessions" [] {
|
||||
^zellij ls | lines | str replace '\(current\)' "" | str trim
|
||||
^zellij ls -n | lines | parse "{value} {description}"
|
||||
}
|
||||
|
||||
# Turned off since it messes with sub-commands
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue