diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-07-28 17:20:26 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-07-28 17:22:13 +0200 |
commit | 6a30f4a87ae981e48b51d5bd652af746805c24bf (patch) | |
tree | e7fed4c23cf3cf1dee97e64a915cddd1e1dc65ad /bash | |
parent | 67896a891bec5064fc603792cf161e5e38dbac05 (diff) | |
download | dotfiles-6a30f4a87ae981e48b51d5bd652af746805c24bf.tar.gz |
fix settings
Diffstat (limited to 'bash')
-rw-r--r-- | bash/board.bash | 2 | ||||
-rw-r--r-- | bash/ssh-agent.bash | 2 | ||||
-rw-r--r-- | bash/ssh-agent.profile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bash/board.bash b/bash/board.bash index 4df9f2a..5c5ac32 100644 --- a/bash/board.bash +++ b/bash/board.bash @@ -2,7 +2,7 @@ # config in ~/.files.config -if [ "$BB_ENABLE"="yes" ]; then +if [ ! "$BB_ENABLE" = "yes" ]; then return fi diff --git a/bash/ssh-agent.bash b/bash/ssh-agent.bash index 2f3040b..401564b 100644 --- a/bash/ssh-agent.bash +++ b/bash/ssh-agent.bash @@ -9,7 +9,7 @@ # $ flatpak override org.keepassxc.KeePassXC --user --filesystem=/run/user/$UID/ssh-agent.sock # Caution: /var/run symlinks to /run. Flatpak for some reason does not resolve symlinks. -if [ "$SA_SSH_AGENT_STATIC"="yes" ]; then +if [ "$SA_SSH_AGENT_STATIC" = "yes" ]; then AGENT_PID='' if [ -e "$SA_SSH_PIDFILE" ]; then AGENT_PID=$(cat $SA_SSH_PIDFILE) diff --git a/bash/ssh-agent.profile b/bash/ssh-agent.profile index efa3724..0fc4082 100644 --- a/bash/ssh-agent.profile +++ b/bash/ssh-agent.profile @@ -4,6 +4,6 @@ #SA_SSH_SOCKET="/var/run/user/$UID/ssh-agent.sock" #SA_SSH_PIDFILE="/var/run/user/$UID/ssh-agent.pid" -if [ ! "$SA_SSH_AGENT_STATIC"="yes" ]; then +if [ ! "$SA_SSH_AGENT_STATIC" = "yes" ]; then [ -z $SSH_AUTH_SOCK ] && eval `ssh-agent` fi |