• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tamada / sibling / 31144658941
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: ci/deploy-page
DEFAULT BRANCH: main
Ran 07 Aug 2026 03:33AM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Aug 2026 03:32AM UTC coverage: 80.911% (+16.6%) from 64.338%
31144658941

Pull #46

github

tamada
feat: refer to the sibling directory without moving, by nextdir and the hook

The issue asks for the hook which sets NEXTDIR and PREVDIR on every change of
the working directory, so that the user refers to the sibling directory without
moving to it.

The hook is here, and it is not registered by default; it runs the command
twice on every change of the working directory, which costs about 4 ms in a
directory of fifty entries, and about 30 ms in a directory of ten thousand
entries. The latter is felt by the hand, and the value goes stale as soon as
another process makes a directory.

Therefore, the same information is available on demand, too, which costs
nothing until it is asked.

- nextdir and prevdir print the sibling directory, and change nothing; they fit
  in the command substitution, such as `cp report.txt "$(nextdir)"`, and
- sibling_hook_enable and sibling_hook_disable register and unregister the hook.

The five shells use their own mechanism: chpwd_functions of zsh, PROMPT_COMMAND
of bash, the PWD event of fish, $after-chdir of Elvish, and the
LocationChangedAction of PowerShell, which keeps the action of the other tools.

Closes #18

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #46: Release v3.0.0: define the semantics of the command

835 of 1014 new or added lines in 8 files covered. (82.35%)

835 of 1032 relevant lines covered (80.91%)

12.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
68
76.55
src/lib.rs
35
80.45
cli/main.rs
26
80.6
cli/printer.rs
16
94.18
src/factory.rs
15
59.46
cli/cli.rs
12
0.0
cli/gencomp.rs
4
91.67
src/strategy.rs
3
92.31
cli/init.rs
Jobs
ID Job ID Ran Files Coverage
1 31144658941.1 07 Aug 2026 03:33AM UTC 8
80.91
GitHub Action Run
Source Files on build 31144658941
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31144658941
  • Pull Request #46
  • PR Base - main (#21342806536)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc