gpg/tasks
This commit is contained in:
parent
9c5185a797
commit
fced2807b7
1 changed files with 3 additions and 0 deletions
|
@ -15,7 +15,9 @@ rwx_gpg_agent_update() {
|
||||||
/bye
|
/bye
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO interactive tag
|
||||||
rwx_gpg_ssh_auth_sock() {
|
rwx_gpg_ssh_auth_sock() {
|
||||||
|
# TODO use function
|
||||||
local user_id
|
local user_id
|
||||||
user_id=$(id --user)
|
user_id=$(id --user)
|
||||||
if [ "${user_id}" -ne 0 ]; then
|
if [ "${user_id}" -ne 0 ]; then
|
||||||
|
@ -26,4 +28,5 @@ rwx_gpg_ssh_auth_sock() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# FIXME only for interactive shell
|
||||||
rwx_gpg_ssh_auth_sock
|
rwx_gpg_ssh_auth_sock
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue