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

add u command to jump one path segment up #28

Merged
merged 3 commits into from
Jan 23, 2023
Merged

add u command to jump one path segment up #28

merged 3 commits into from
Jan 23, 2023

Conversation

rnwgnr
Copy link
Contributor

@rnwgnr rnwgnr commented Jan 22, 2023

The new u command allows you to jump one path segment up, e.g. from gemini://capsule.tld/log/today to gemini://capsule.tld/log/. This is helpful for some capsules that don't provide a "home" or "back" link.

Additionally some shellcheck warnings were fixed.

@rnwgnr
Copy link
Contributor Author

rnwgnr commented Jan 22, 2023

This is the last PR from me for the moment :)

@@ -401,16 +407,20 @@ EOF
;;
56)
url="$1://$2:$3/$4"
cat "$bookmarkfile" | grep -iv "^$url " > "$cachedir/bookmarks"
grep -iv "^$url " "$bookmarkfile" > "$cachedir/bookmarks"
Copy link
Owner

Choose a reason for hiding this comment

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

Good catch!

@blmayer blmayer merged commit 5658ddf into blmayer:main Jan 23, 2023
@blmayer
Copy link
Owner

blmayer commented Jan 23, 2023

Wonderful. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants