bashrc & zshrc: ugly hack

Attempts to fix FINEID related aliases on non-32-bit systems.
This commit is contained in:
Mikaela Suomalainen 2014-04-14 18:56:24 +03:00
parent c4ac3b9a8a
commit 112f31e6f1
2 changed files with 4 additions and 2 deletions

3
bashrc
View File

@ -469,7 +469,8 @@ alias lpip="pip install --install-option=--prefix=$HOME/.local"
alias lpip3="pip3 install --install-option=--prefix=$HOME/.local"
# FINEID
alias ssh-add-sc="ssh-add -s /usr/lib/opensc-pkcs11.so"
pkcs11so=`locate opensc-pkcs11.so`
alias ssh-add-sc="ssh-add -s $opensc-pkcs11.so"
alias ssh-add-sc-pub="ssh-add -L"
# Allow custom aliases to be put in .aliases or .bash_aliases .

3
zshrc
View File

@ -442,7 +442,8 @@ alias lpip="pip install --install-option=--prefix=$HOME/.local"
alias lpip3="pip3 install --install-option=--prefix=$HOME/.local"
# FINEID
alias ssh-add-sc="ssh-add -s /usr/lib/opensc-pkcs11.so"
pkcs11so=`locate opensc-pkcs11.so`
alias ssh-add-sc="ssh-add -s $pkcs11so"
alias ssh-add-sc-pub="ssh-add -L"
# .aliases