bashrc & zshrc: fix ssh-add-sc

See also issue #32 .
This commit is contained in:
Mikaela Suomalainen 2014-07-09 17:07:47 +03:00
parent dc51cf6dd3
commit 5e7b3ff858
2 changed files with 4 additions and 6 deletions

5
bashrc
View File

@ -489,9 +489,8 @@ alias inxi-install-root="cd /usr/local/bin;\wget -Nc smxi.org/inxi;chmod +x inxi
alias inxi-update="inxi -U"
# FINEID
pkcs11so=$(find /usr/*lib -name 'opensc-pkcs11.so' 2>/dev/null&)
alias ssh-add-sc="ssh-add -s $opensc-pkcs11.so"
alias ssh-add-sc-pub="ssh-add -L"
alias ssh-add-sc="ssh-add -s $(find /usr/*lib -name 'opensc-pkcs11.so')"
alias ssh-add-sc-pub="\ssh-add -L"
## apt in Ubuntu 14.04+ and other distributions

5
zshrc
View File

@ -458,9 +458,8 @@ alias inxi-install-root="cd /usr/local/bin;\wget -Nc smxi.org/inxi;chmod +x inxi
alias inxi-update="inxi -U"
# FINEID
pkcs11so=$(find /usr/*lib -name 'opensc-pkcs11.so' 2>/dev/null&)
alias ssh-add-sc="ssh-add -s $pkcs11so"
alias ssh-add-sc-pub="ssh-add -L"
alias ssh-add-sc="ssh-add -s $(find /usr/*lib -name 'opensc-pkcs11.so')"
alias ssh-add-sc-pub="\ssh-add -L"
## apt in Ubuntu 14.04+ and other distributions