mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-08 19:32:31 +01:00
Fix #22. Use find instead of locate.
This commit is contained in:
parent
483da09e60
commit
045b15faf4
2
bashrc
2
bashrc
@ -509,7 +509,7 @@ alias inxi-install-root="cd /usr/local/bin;\wget -Nc smxi.org/inxi;chmod +x inxi
|
||||
alias inxi-update="inxi -U"
|
||||
|
||||
# FINEID
|
||||
pkcs11so=`locate opensc-pkcs11.so`
|
||||
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"
|
||||
|
||||
|
2
zshrc
2
zshrc
@ -482,7 +482,7 @@ alias inxi-install-root="cd /usr/local/bin;\wget -Nc smxi.org/inxi;chmod +x inxi
|
||||
alias inxi-update="inxi -U"
|
||||
|
||||
# FINEID
|
||||
pkcs11so=`locate opensc-pkcs11.so`
|
||||
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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user