mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 19:29:22 +01:00
bashrc & zshrc: ugly hack
Attempts to fix FINEID related aliases on non-32-bit systems.
This commit is contained in:
parent
c4ac3b9a8a
commit
112f31e6f1
3
bashrc
3
bashrc
@ -469,7 +469,8 @@ alias lpip="pip install --install-option=--prefix=$HOME/.local"
|
|||||||
alias lpip3="pip3 install --install-option=--prefix=$HOME/.local"
|
alias lpip3="pip3 install --install-option=--prefix=$HOME/.local"
|
||||||
|
|
||||||
# FINEID
|
# 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"
|
alias ssh-add-sc-pub="ssh-add -L"
|
||||||
|
|
||||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
3
zshrc
3
zshrc
@ -442,7 +442,8 @@ alias lpip="pip install --install-option=--prefix=$HOME/.local"
|
|||||||
alias lpip3="pip3 install --install-option=--prefix=$HOME/.local"
|
alias lpip3="pip3 install --install-option=--prefix=$HOME/.local"
|
||||||
|
|
||||||
# FINEID
|
# 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"
|
alias ssh-add-sc-pub="ssh-add -L"
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user