notebook location + ssh askpass fix

This commit is contained in:
Nico Schottelius 2019-10-13 16:01:49 +02:00
parent c765813518
commit 0c0dac0179
2 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,10 @@
exec 2>&1
if [ $# -ge 1 ]; then
printf "Estimated location\n\n$@\n\n"
fi
printf 'My IP addresses\n\n'
ip -o a | awk '{ print $4 }'

View File

@ -14,6 +14,8 @@ elif command -v chromium-browser; then
chromium-browser &
fi
# slack &
ssh-add </dev/null && mainemacs &
if [ -f /etc/arch-release ]; then
SSH_ASKPASS=/usr/bin/qt4-ssh-askpass ssh-add </dev/null && mainemacs &
else
ssh-add </dev/null && mainemacs &
fi