AutoConnect for irssi. Env for zsh

This commit is contained in:
Mathieu Maret 2012-11-26 15:20:00 +01:00
parent 27cce18922
commit 89f9a545cb
3 changed files with 18 additions and 11 deletions

View File

@ -38,7 +38,7 @@ servers = (
chatnet = "freenode"; chatnet = "freenode";
use_ssl = "no"; use_ssl = "no";
ssl_verify = "no"; ssl_verify = "no";
autoconnect = "no"; autoconnect = "yes";
} }
); );
@ -129,8 +129,7 @@ chatnets = {
}; };
channels = ( channels = (
{ name = "&bitlbee"; chatnet = "bitlbee"; autojoin = "yes"; } { name = "#openwide"; chatnet = "freenode"; autojoin = "yes"; },
{ name = "#openwide"; chatnet = "freenode"; autojoin = "no"; },
); );
aliases = { aliases = {

View File

@ -12,15 +12,17 @@ export EDITOR=/usr/bin/vim
#export http_proxy="http://grp-horus:3128" #export http_proxy="http://grp-horus:3128"
#export https_proxy="http://grp-horus:3128" #export https_proxy="http://grp-horus:3128"
#export ftp_proxy="http://grp-horus:3128" #export ftp_proxy="http://grp-horus:3128"
export ANDROID_DIR=/home/mathieu/android/android-sdk-linux_86 export ANDROID_HOME=/opt/android-sdk
export ANDROID_HOME=/home/mathieu/android/android-sdk-linux_86 export ANDROID_PLATFROM=/opt/android-sdk/platform-tools
export ANDROID_SKD=/home/mathieu/android/android-sdk-linux/platforms/android-1.6 export JAVA_HOME=/usr/lib/jvm/java-7-openjdk/jre
#export PATH=$ANDROID_DIR/tools:$PATH #export CATALINA_HOME=/usr/share/tomcat6
export JAVA_HOME=/opt/java export RUBY_HOME=/opt/ruby1.8
export CATALINA_HOME=/usr/share/tomcat6 export ANT_HOME=/usr/share/java/apache-ant/
export PATH=$JAVA_HOME/bin/:$ANDROID_HOME/tools:$ANDROID_SKD/tools:$ECLIPSE_HOME:$PATH export MAILMAN_HOME=/usr/lib/mailman
export PATH=$MAILMAN_HOME/bin:$JAVA_HOME/bin/:$ANDROID_HOME/tools:$ANDROID_PLATFROM:$RUBY_HOME/bin:$ANT_HOME/bin:$ECLIPSE_HOME:$PATH
export RYHOME=/home/mathieu/Source/ryzom/code
export PACMAN=pacman-color
#emacsAndViKeys #emacsAndViKeys
#bindkey -v #bindkey -v

View File

@ -4,6 +4,12 @@ is_running=`ps aux| grep gpg-agent| grep -v grep`
if [ $is_running ] ; then if [ $is_running ] ; then
echo "gpg is running"; echo "gpg is running";
if [ -f "${HOME}/.gpg-agent-info" ]; then
. "${HOME}/.gpg-agent-info"
export GPG_AGENT_INFO
export SSH_AUTH_SOCK
export SSH_AGENT_PID
fi
else else
env=`./run_gpg.sh` env=`./run_gpg.sh`
source $env source $env