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

Some improvements #2

Merged
merged 5 commits into from Jan 18, 2016
Merged

Some improvements #2

merged 5 commits into from Jan 18, 2016

Conversation

sorbits
Copy link
Contributor

@sorbits sorbits commented Jan 16, 2016

I did a few more tweaks, if you don’t want all the commits you can always cherry-pick (I didn’t want to create four pull requests for this).

I also added a Makefile to create the pass.alfredworkflow archive, I think the current archive should be deleted from the repository because it’s generated from repository content and will be out of sync, but it does mean that people can’t just download the repository and double-click (you’ll need to do releases, but it seems you already do that for the packal stuff).

Question: pass-show.sh uses awk and pbcopy. Any reason for avoiding pass -c? Is it the auto-clearing of the clipboard (which I personally quite like, but which can be changed by setting the PASSWORD_STORE_CLIP_TIME environment variable).

We complete only the current level matched (including trailing slash) when the filter string is a prefix of the matched item.

For example if the item is `foo/bar/baz` and we type `f⇥` then it gets completed to `foo/` and pressing tab again will make it `foo/bar/` etc.
When items have a UID then Alfred can remember what items we previously picked for an abbreviation.
Also add info.plist taken from the current pass.alfredworkflow archive (which should probably be deleted from the repository).
One minor difference is that Alfred uses straight quotes around the ellipsis, but this should probably be changed in Alfred (rather than us adopting this legacy computer quoting style).
@CGenie
Copy link
Owner

CGenie commented Jan 18, 2016

Again, great stuff, thanks! I'll remove pass.alfredworkflow. It is on Packal already and devs can easily call make. As for pass -c, yes, that 45 second limit I didn't like at first, but upon second thought, I think it's a good idea so will fix this too.

CGenie pushed a commit that referenced this pull request Jan 18, 2016
@CGenie CGenie merged commit 7af0c2e into CGenie:master Jan 18, 2016
@sorbits sorbits deleted the misc branch January 19, 2016 12:39
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.

None yet

2 participants