bashrc & zshrc: add aliases related to fineid

ssh-add-sc adds identity card to ssh-agent.

ssh-add-sc-pub shows the public keys of identity-card.
This commit is contained in:
Mikaela Suomalainen 2014-04-14 18:40:47 +03:00
parent 4efab67f44
commit c4ac3b9a8a
2 changed files with 8 additions and 0 deletions

4
bashrc
View File

@ -468,6 +468,10 @@ alias inxi-update="inxi -U"
alias lpip="pip install --install-option=--prefix=$HOME/.local" 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
alias ssh-add-sc="ssh-add -s /usr/lib/opensc-pkcs11.so"
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 .
# .aliases # .aliases

4
zshrc
View File

@ -441,6 +441,10 @@ alias inxi-update="inxi -U"
alias lpip="pip install --install-option=--prefix=$HOME/.local" 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
alias ssh-add-sc="ssh-add -s /usr/lib/opensc-pkcs11.so"
alias ssh-add-sc-pub="ssh-add -L"
# .aliases # .aliases
if [ -f ~/.aliases ]; then if [ -f ~/.aliases ]; then
source ~/.aliases source ~/.aliases