mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-25 19:14:39 +02:00
shell/*: fix most shellcheck errors
This commit is contained in:
parent
ced309e5a4
commit
0d8a6f0c01
9 changed files with 67 additions and 53 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Assert an ssh-agent (which is empty at the beginning)
|
||||
if command -v keychain 2>&1 >/dev/null; then
|
||||
eval $(keychain -q --nogui --agents ssh --timeout 600 --eval)
|
||||
if command -v keychain > /dev/null 2>&1; then
|
||||
eval "$(keychain -q --nogui --agents ssh --timeout 600 --eval)"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue