X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=zsh_people%2Fbruno_bonfils%2Frc%2Fmisc.rc;fp=zsh_people%2Fbruno_bonfils%2Frc%2Fmisc.rc;h=0000000000000000000000000000000000000000;hb=5cb88f9fb34ecec3c6fdf321e4f5842da0102ef1;hp=0bb64979ceb01eb8f74947ac2ca2de1c7711c3bb;hpb=570683afd3efabdf224dbc2fcebf9467a3653638;p=zsh-lovers.git diff --git a/zsh_people/bruno_bonfils/rc/misc.rc b/zsh_people/bruno_bonfils/rc/misc.rc deleted file mode 100644 index 0bb6497..0000000 --- a/zsh_people/bruno_bonfils/rc/misc.rc +++ /dev/null @@ -1,41 +0,0 @@ -# -*- shell-script -*- - -periodic () { - rehash -} - -export PERIOD=300 - -### -# Mail - -if [[ -x `which fetchmail` && ! -f ~/.fetchmail.pid && ! -f /tmp/.${USER}.fetchmailnoask ]] -then - local ans - echo -n "Start fetchmail ? [y/n] " - read -q ans - if [[ $ans == "y" ]] - then - fetchmail - else - echo -n "Ask again ? [y/n] " - read -q ans - if [[ $ans == "n" ]] - then - # I use /tmp since it's purge every reboot - echo "" >| /tmp/.${USER}.fetchmailnoask - fi - fi -fi - - -### -# Zftp -# - -# load zftp module -autoload -U zfinit -zfinit - -# email address for anonymous ftp -export EMAIL_ADDR=enjoy.zsh@foo.bar