notebook location + ssh askpass fix
This commit is contained in:
parent
c765813518
commit
0c0dac0179
2 changed files with 9 additions and 3 deletions
|
@ -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 }'
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue