mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 09:07:04 +08:00
Compare commits
2 Commits
a45828ea43
...
b0cec95575
Author | SHA1 | Date | |
---|---|---|---|
|
b0cec95575 | ||
|
2beb9ebbf9 |
2
.github/workflows/gitee_sync.yml
vendored
2
.github/workflows/gitee_sync.yml
vendored
|
@ -1,8 +1,6 @@
|
||||||
name: sync repos to gitee
|
name: sync repos to gitee
|
||||||
on:
|
on:
|
||||||
push: ~
|
push: ~
|
||||||
schedule:
|
|
||||||
- cron: 10 4 * * *
|
|
||||||
workflow_dispatch: ~
|
workflow_dispatch: ~
|
||||||
jobs:
|
jobs:
|
||||||
dotfiles:
|
dotfiles:
|
||||||
|
|
|
@ -61,7 +61,8 @@ reset()
|
||||||
|
|
||||||
all()
|
all()
|
||||||
{
|
{
|
||||||
local agent_file="/tmp/piv-agent-$(whoami)"
|
test -d ~/.ssh || mkdir ~/.ssh
|
||||||
|
local agent_file=~/.ssh/agent-$(whoami)
|
||||||
if [[ -f $agent_file ]]; then
|
if [[ -f $agent_file ]]; then
|
||||||
source $agent_file > /dev/null
|
source $agent_file > /dev/null
|
||||||
else
|
else
|
||||||
|
|
|
@ -49,7 +49,7 @@ alias p114
|
||||||
alias cbds
|
alias cbds
|
||||||
which riot
|
which riot
|
||||||
sagt
|
sagt
|
||||||
test -f "/tmp/piv-agent-$(whoami)"
|
test -f ~/.ssh/agent-$(whoami)
|
||||||
gbes || which gbes
|
gbes || which gbes
|
||||||
|
|
||||||
# check update
|
# check update
|
||||||
|
|
Loading…
Reference in New Issue
Block a user