Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ion-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
ion-plugins
Commits
f0cf0347
Commit
f0cf0347
authored
Jul 23, 2019
by
AdminXVII
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GPG agent
parent
40964495
Pipeline
#5428
passed with stages
in 1 minute and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
plugins.md
plugins.md
+1
-1
tools/gpg-agent.ion
tools/gpg-agent.ion
+16
-0
No files found.
plugins.md
View file @
f0cf0347
...
...
@@ -217,7 +217,7 @@ Since Ion does not support autocompletion via plugins, a lot of oh-my-zsh plugin
|--------------------------+--------------------------------|
| golang | Planned |
|--------------------------+--------------------------------|
| gpg-agent |
Planned
|
| gpg-agent |
Done
|
|--------------------------+--------------------------------|
| gradle | Not happening |
|--------------------------+--------------------------------|
...
...
tools/gpg-agent.ion
0 → 100644
View file @
f0cf0347
# Enable gpg-agent if it is not running-
# --use-standard-socket will work from version 2 upwards
export AGENT_SOCK = $(gpgconf --list-dirs | grep agent-socket | cut -d : -f 2)
if not test -S $AGENT_SOCK
gpg-agent --daemon --use-standard-socket &> /dev/null
end
export GPG_TTY = $(tty)
# Set SSH to use gpg-agent if it's enabled
let GNUPGCONFIG = "$or($GNUPGHOME $HOME/.gnupg)/gpg-agent.conf"
if test -r $GNUPGCONFIG && /usr/bin/env grep -q enable-ssh-support $GNUPGCONFIG
export SSH_AUTH_SOCK = $AGENT_SOCK.ssh
export SSH_AGENT_PID = ''
end
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