From 5e7b3ff8582288d59ac508f7a2fdd310de171a71 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 9 Jul 2014 17:07:47 +0300 Subject: [PATCH] bashrc & zshrc: fix ssh-add-sc See also issue #32 . --- bashrc | 5 ++--- zshrc | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/bashrc b/bashrc index 834713f3..7da802f2 100644 --- a/bashrc +++ b/bashrc @@ -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 diff --git a/zshrc b/zshrc index 041e3c71..9dd7b7b4 100644 --- a/zshrc +++ b/zshrc @@ -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