Compare commits
3 Commits
61fb51b3eb
...
5cfbe03d71
Author | SHA1 | Date | |
---|---|---|---|
5cfbe03d71 | |||
4e67805847 | |||
8956cd7280 |
@ -4,9 +4,11 @@
|
||||
!/.cache/zsh/compzwc/.keep
|
||||
!/.cache/zsh/ssh/.keep
|
||||
!/.config/dotfiles/bin/.keep
|
||||
!/.config/dotfiles/debian.sources
|
||||
!/.config/dotfiles/gen-gitignore.sh
|
||||
!/.config/dotfiles/gitattributes
|
||||
!/.config/dotfiles/gitignore
|
||||
!/.config/dotfiles/gitignore.vcs
|
||||
!/.config/dotfiles/install.sh
|
||||
!/.config/dotfiles/scripts/.keep
|
||||
!/.config/dotfiles/woodpecker.yml
|
||||
|
18
.config/dotfiles/gitignore.vcs
Normal file
18
.config/dotfiles/gitignore.vcs
Normal file
@ -0,0 +1,18 @@
|
||||
!/.cache/zsh/compcache/.keep
|
||||
!/.cache/zsh/completion/.keep
|
||||
!/.cache/zsh/compzwc/.keep
|
||||
!/.cache/zsh/ssh/.keep
|
||||
!/.config/zsh/local/.keep
|
||||
!/.config/zsh/local/completion/.keep
|
||||
!/.config/zsh/local/env.zsh.example
|
||||
!/.config/zsh/var/.keep
|
||||
|
||||
/.cache/zsh/compcache/*
|
||||
/.cache/zsh/compdump
|
||||
/.cache/zsh/completion/*
|
||||
/.cache/zsh/compzwc/*
|
||||
/.cache/zsh/ssh/*
|
||||
/.config/zsh/**/*.zwc
|
||||
/.config/zsh/local.zsh
|
||||
/.config/zsh/local/*
|
||||
/.config/zsh/var/*
|
@ -6,12 +6,17 @@ z-gpg-agent() {
|
||||
|
||||
(( ${+commands[gpg-agent]} )) || return 127
|
||||
|
||||
local u
|
||||
for u in gpg-agent.{service,socket} ; do
|
||||
z-systemctl-exists --user $u || continue
|
||||
|
||||
z-systemctl --user --now enable $u
|
||||
done
|
||||
if (( ${+commands[systemctl]} )) ; then
|
||||
local u s
|
||||
for u in gpg-agent.{service,socket} ; do
|
||||
s=$(z-systemctl --user is-enabled $u)
|
||||
case "$s" in
|
||||
disabled ) ;;
|
||||
* ) continue ;;
|
||||
esac
|
||||
z-systemctl --user --now enable $u
|
||||
done
|
||||
fi
|
||||
|
||||
(( ${+commands[gpgconf]} )) || return 127
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user