diff options
author | Peter Palfrader <peter@palfrader.org> | 2009-05-08 19:18:47 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2009-05-08 19:18:47 +0000 |
commit | 0af45db40a809524fe0b3f7f38d5185717ff8758 (patch) | |
tree | 3cc9372cf7611cb79f08d075d30a645174c04c4b /zshfunc/fpr | |
parent | 8ab42a34318201ecb67d96dac5e688ccf4cc7f34 (diff) |
remove function headers
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@392 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'zshfunc/fpr')
-rw-r--r-- | zshfunc/fpr | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/zshfunc/fpr b/zshfunc/fpr index 1d53d03..38afc3b 100644 --- a/zshfunc/fpr +++ b/zshfunc/fpr @@ -1,8 +1,6 @@ ## vim:ft=zsh:foldmethod=marker -fpr() { - ( - ssh-keygen -r '' -f =( ssh-keyscan -t rsa $1 2>/dev/null | sed -e 's/^[^ ]* //'); - ssh-keygen -r '' -f =( ssh-keyscan -t dsa $1 2>/dev/null | sed -e 's/^[^ ]* //'); - ) | sed -e 's/^[^ ]* //' -} +( + ssh-keygen -r '' -f =( ssh-keyscan -t rsa $1 2>/dev/null | sed -e 's/^[^ ]* //'); + ssh-keygen -r '' -f =( ssh-keyscan -t dsa $1 2>/dev/null | sed -e 's/^[^ ]* //'); +) | sed -e 's/^[^ ]* //' |