Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scd: add page #9224

Merged
merged 24 commits into from
Jan 3, 2023
Merged
Changes from 22 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
29 changes: 29 additions & 0 deletions pages/common/scd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# scd

> File manager focused on shell integration.
> More information: <https://github.com/cshuaimin/scd>.

- Index paths recursively for the very first run:

`scd -ar {{path/to/directory}}`
Copy link
Contributor

@EmilyGraceSeville7cf EmilyGraceSeville7cf Dec 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mandatory fix: use long options if they are portable.
Optional fix: potentially missing mnemonic.
Note: parsing -ar failed: can't understand whether -a and -r passed or -a with r value.

Copy link
Contributor

@EmilyGraceSeville7cf EmilyGraceSeville7cf Dec 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jay-tau, please reply to all my unresolved conversations. :) As README doesn't provide enough info about supported options I assume that long ones exist and requesting changes based on this assumption.


- Change to a specific directory:

`scd {{path/to/directory}}`

- Change to a path matching specific patterns:

`scd "{{pattern1 pattern2 ...}}"`


jay-tau marked this conversation as resolved.
Show resolved Hide resolved
- Show selection menu and ranking of 20 most likely directories:

`scd -v`
Comment on lines +18 to +20
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


- Add a specific alias for the current directory:

`scd --alias={{word}}`

- Change to a directory using a specific alias:

`scd {{word}}`