summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-01-28 16:35:59 +0100
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:19 +0100
commit186f15b34bd3f0282c5f4f9ae4cd9306c6d62f85 (patch)
tree7dfd1f91c76aead4218200c2c4346803a018eabd
parent67a10697085a658344286e10734f079713a9548a (diff)
=?utf-8?q?suppression=20de=20toutes=20les=20utilisations=20inutiles=20de=20keychain
=20qui=20ralentissaient=20BEAUCOUP=20TROP=20le=20d=C3=A9marrage=20de=20zsh...?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
-rw-r--r--.zlogin5
-rw-r--r--10_Environment.zsh10
2 files changed, 7 insertions, 8 deletions
diff --git a/.zlogin b/.zlogin
index 3391da1..c373a26 100644
--- a/.zlogin
+++ b/.zlogin
@@ -1,10 +1,9 @@
cmd_exists calendar && \
-#for _col in {1..$COLUMNS} ; do echo -n "_" ; done ;\
-echo;\
+#for _col in {1..$COLUMNS} ; do echo -n "_" ; done ;\ echo;\
(calendar -A0 ; calendar -A0 -f all) | sed "s/^\(......\*.*\)/\1/"
-cmd_exists keychain && keychain --quiet --stop others --inherit any
+#cmd_exists keychain && keychain --quiet --stop others --inherit any
#keychain --quiet --quick id_dsa
#keychain --quiet --quick 593F1F92
diff --git a/10_Environment.zsh b/10_Environment.zsh
index 335ea37..9919756 100644
--- a/10_Environment.zsh
+++ b/10_Environment.zsh
@@ -18,11 +18,11 @@
## Agent de clefs SSH/GPG
KEYCHAIN=~/.keychain/$(hostname)-sh
-[ -f ${KEYCHAIN} ] && source ${KEYCHAIN}
-[ -f ${KEYCHAIN}-gpg ] && source ${KEYCHAIN}-gpg
-( ps fax | grep -v grep | grep $SSH_AGENT_PID 2>&- >&- ) || ( cmd_exists keychain && keychain --quiet --stop others --inherit any ) && \
- [ -f ${KEYCHAIN} ] && source ${KEYCHAIN} ;\
- [ -f ${KEYCHAIN}-gpg ] && source ${KEYCHAIN}-gpg
+#[ -f ${KEYCHAIN} ] && source ${KEYCHAIN}
+#[ -f ${KEYCHAIN}-gpg ] && source ${KEYCHAIN}-gpg
+#( ps fu | grep -v grep | grep $SSH_AGENT_PID 2>&- >&- ) || ( cmd_exists keychain && keychain --quiet --stop others --inherit any ) && \
+# [ -f ${KEYCHAIN} ] && source ${KEYCHAIN} ;\
+# [ -f ${KEYCHAIN}-gpg ] && source ${KEYCHAIN}-gpg
## Colors
VOID=0