Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
keyringer-macosx
Commits
b3c2760b
Commit
b3c2760b
authored
Aug 21, 2014
by
Silvio Rhatto
Browse files
Minor zsh completion fixes
parent
6ae4c388
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ChangeLog
ChangeLog
+1
-0
lib/keyringer/completions/zsh/_keyringer
lib/keyringer/completions/zsh/_keyringer
+2
-2
No files found.
ChangeLog
View file @
b3c2760b
2014-08-21 - Silvio Rhatto <rhatto@riseup.net>
Shell completions: fix handling of keyrings with '-' in their names
and minor zsh fixes.
Edit: Unset RELATIVE_PATH before encrypting file
...
...
lib/keyringer/completions/zsh/_keyringer
View file @
b3c2760b
...
...
@@ -70,7 +70,7 @@ _keyringer() {
case "$words[3]" in
recipients)
words[5]="$(echo $words[5] | sed -e "s|^/||")" # TODO: avoid leading slash
compadd "$@" $(cd $keyring_path/config/recipients && ls --color=never -p $words[5]
'*'
2> /dev/null)
compadd "$@" $(cd $keyring_path/config/recipients && ls --color=never -p $words[5]
*
2> /dev/null)
;;
genpair)
words[5]="$(echo $words[5] | sed -e "s|^/||")" # TODO: avoid leading slash
...
...
@@ -87,7 +87,7 @@ _keyringer() {
esac
;;
*)
if [ $words[3] == "git" ]; then
if [
[
$words[3] == "git"
]
]; then
# TODO
true
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment