caio.co/de/dotfiles

Cleanup - Remove unused configs

Id
63524efcb49cd8c2033f775ffdb11cd18f28962d
Author
Caio
Commit time
2011-11-21T17:46:29-02:00

Modified .gitignore

@@ -1,9 +1,2
*.pyc
-ipython/db/*
-ipython/history
-fonts/fonts.dir
-vim/tags/*
-vim/doc/*
mplayer/registry
-vim/.netrwhist
-mutt/headercache

Deleted bin/agnc.sh

@@ -1,17 +1,0
-#!/bin/bash
-
-set -e
-
-logd=/etc/rc.d/agnLogd
-clientd=/etc/rc.d/agnclientd
-
-do_rcexec() {
- sudo ${logd} ${1}
- sudo ${clientd} ${1}
-}
-
-if pgrep -f agnclient 2>&1 >/dev/null; then
- do_rcexec "stop"
-else
- do_rcexec "start"
-fi

Deleted bin/bso_auth

@@ -1,15 +1,0
-#!/bin/bash
-IBM_MAIL="rcaio@br.ibm.com"
-
-[ "$1" ] && HOSTS="$1" || HOSTS="private.ltc.br.ibm.com"
-
-read -s -p "Password: " IBM_PASSWD; echo
-
-for HOST in $HOSTS
-do
-wget --no-check-certificate https://"$HOST":443/ \
---post-data="au_pxytimetag=1396696820&uname=$IBM_MAIL&pwd=$IBM_PASSWD&ok=OK" -O - 2>/dev/null \
-|sed -e 's:.*<H1>::g' -e 's:</H1>.*::g' -e 's:<[^>]*>:\n:g' \
-|head -n 3| grep 'Failed' > /dev/null 2>&1
-[ $? -ne 0 ] && echo "Auth OK on $HOST" || echo "Auth Failed on $HOST"
-done

Deleted bin/do-backup.sh

@@ -1,3 +1,0
-#!/bin/bash
-
-duplicity --ssh-options="-oProtocol=2 -oIdentityFile=/home/romao/.ssh/id_dsa" $* ~/.mail scp://romao@pokgsa.ibm.com/mailbackup

Deleted bin/gsa_smb_mount

@@ -1,128 +1,0
-#!/bin/bash
-# Author: Caio Romão <caioromao@gmail.com>
-# Note: This script is full of bashisms
-
-progname=$(basename $0)
-verbose=false
-noerror=false
-
-usage() {
- cat 1>&2 <<EOF
-usage: ${progname} -u USERNAME -c CELL -m MOUNTPOINT
-
-This script mounts via CIFS (Samba) a GSA Cell user's homedir.
-
-Mandatory Parameters:
- -u USERNAME The GSA username
- -c CELL Address to the GSA Cell
- -m MOUNTPOINT Path where to mount the GSA Cell
-
-Optional Parameters:
- -h Show this message
- -v Verbose mode
- -n Don't exit with error if share already mounted
- -p PASSWORD Password to the given username
- -o PARAMETERS Extra options to pass to the mount command
- -u UID Custom UID to use on mount (Defaults to current user's ID)
- -g GID Custom GID to use on mount (Defaults to current user's GID)
- -s SHARE Custom share to be mounted. E.g.: pokgsa/projects/u/upp.
- You can list shares using: smbclient -L CELL -u USERNAME
-
-Brought to you by: Caio Romão <caioromao@gmail.com>
-EOF
-}
-
-do_strip() {
- # Strips a given string from a given character (defaults to blank space).
- # E.g.:
- # do_strip "/////My string/////" "/"
- # >>> "My String"
- result=$1
- char=$2
-
- [[ -z $char ]] && char=' '
-
- # Strip from beginning of string
- while [ "${result:0:1}" = "$char" ]; do
- result=${result:1:${#result}}
- done
-
- # Strip from end of string
- while [ "${result:$((${#result} - 1)):${#result}}" = "$char" ]; do
- result=${result:0:$((${#result} -1))}
- done
-
- echo $result
-}
-
-check_param() {
- local pname=$1
- if [[ -z $(eval echo \$$pname) ]]; then
- cat 1>&2 <<EOF
-Missing ${pname/GSA_/} option. Check "${progname} -h" for usage instructions.
-EOF
- exit 1
- fi
-}
-
-read_opts() {
- while getopts "hu:c:m:vp:n" opt; do
- case $opt in
- u)
- GSA_USER=$OPTARG;;
- c)
- GSA_CELL=$(do_strip "$OPTARG" "/");;
- m)
- GSA_MOUNTPOINT=$OPTARG;;
- h)
- usage; exit 0;;
- v)
- verbose=true;;
- n)
- noerror=true;;
- p)
- GSA_PASS=$OPTARG;;
- o)
- GSA_MOUNTOPTS=$OPTARGS;;
- u)
- GSA_UID=$OPTARGS;;
- g)
- GSA_GID=$OPTARGS;;
- s)
- GSA_SHARE=$(do_strip "$OPTARG" "/");;
- esac
- done
-
- for opt in GSA_USER GSA_CELL GSA_MOUNTPOINT; do
- check_param $opt
- done
-
- if [[ -z $GSA_PASS ]]; then
- read -s -p "GSA Password: " GSA_PASS; echo
- fi
-
- [[ -z $GSA_UID ]] && GSA_UID=$UID
- [[ -z $GSA_GID ]] && GSA_GID=$(id -g)
- [[ -z $GSA_SHARE ]] && GSA_SHARE=$GSA_USER
-}
-
-main() {
- read_opts "$@"
-
- local target="//$GSA_CELL/$GSA_SHARE"
-
- # Check if already mounted
- if awk '{ print $1 }' /proc/mounts | grep -x "$target/" &>/dev/null; then
- cat 2>&1 <<EOF
-WARNING: Share ${target} already mounted!
-EOF
- $noerror && exit 0 || exit 2
- fi
-
- $verbose && set -x
- sudo mount -t cifs -o username=${GSA_USER},password=${GSA_PASS},\
-uid=${GSA_UID},gid=${GSA_GID},setuid,$GSA_MOUNTOPTS "$target" ${GSA_MOUNTPOINT}
- $verbose && set +x || true
-}
-
-main "$@"

Deleted bin/hpc-kernels-mount

@@ -1,4 +1,0
-#!/bin/bash
-
-sudo mount -o hard,intr,nfsvers=3,tcp,rsize=65536,wsize=65536,timeo=200,nosuid,mountproto=tcp rchgsa.ibm.com:/gsa/rchgsa-p2/06/hpc-kernels etc/gsa
-[ $? -eq 0 ] && echo ">>> Now login with: gsa_login -c rchgsa"

Deleted bin/ibmvpn.sh

@@ -1,21 +1,0
-#!/bin/bash
-
-USERID="rcaio@br.ibm.com"
-SERVER="rcxasa.watson.ibm.com"
-
-start() {
- echo ">>> Starting openconnect..."
- sudo openconnect -u $USERID --background --syslog \
- --script=/etc/vpnc/vpnc-script $SERVER
-}
-
-stop() {
- echo ">>> Stopping openconnect..."
- sudo pkill openconnect
-}
-
-if pgrep openconnect >/dev/null; then
- stop
-else
- start
-fi

Deleted bin/matricula

@@ -1,6 +1,0
-#!/bin/bash
-
-[ $1 ] && EMAIL=$1 || read -p "E-mail: " EMAIL
-[ `expr match "$EMAIL" '.*@.*'` -eq 0 ] && EMAIL="${EMAIL}@br.ibm.com"
-
-ldapsearch -b "OU=BLUEPAGES,O=IBM.COM" -h bluepages.ibm.com -x mail=$EMAIL notesmailserver|grep uid #|cut -d= -f2|cut -d, -f 1| sed 's/[0-9]\{3\}$//g'

Deleted bin/ppack-overlay

@@ -1,28 +1,0
-#!/bin/bash
-
-REPO=/home/rcaio/src/work/upp
-DIRS=( $REPO/ppack/wui $REPO/common/wui )
-MOUNTPOINT="/opt/wui"
-
-
-do_mount() {
- echo "Mounting UnionFS on $MOUNTPOINT"
-
- for d in ${DIRS[@]}; do
- PARAMS="${PARAMS}${d}=RW:"
- done
- PARAMS="${PARAMS%:}"
- unionfs -o allow_other $PARAMS $MOUNTPOINT
-}
-
-do_umount() {
- echo "Unmounting $MOUNTPOINT"
- fusermount -u $MOUNTPOINT
-}
-
-if mount|grep $MOUNTPOINT >/dev/null; then
- do_umount
-else
- do_mount
-fi
-

Deleted bin/upp-nfs-mount

@@ -1,5 +1,0
-#!/bin/bash
-
-# sudo mount -o hard,intr,nfsvers=3,tcp,rsize=65536,wsize=65536,timeo=200,nosuid,mountproto=tcp rchgsa.ibm.com:/gsa/rchgsa-p2/06/hpc-kernels etc/gsa
-sudo mount -o hard,intr,nfsvers=3,tcp,rsize=65536,wsize=65536,timeo=200,nosuid,mountproto=tcp pokgsa.ibm.com:/gsa/pokgsa-p6/14/upp $1
-[ $? -eq 0 ] && echo ">>> Now login with: gsa_login -c pokgsa"

Deleted bin/vplsst-overlay

@@ -1,28 +1,0
-#!/bin/bash
-
-REPO=/home/romao/src/work/upp
-DIRS=( $REPO/sst/wui $REPO/common/wui )
-MOUNTPOINT="/opt/ibm/sst"
-
-
-do_mount() {
- echo "Mounting UnionFS on $MOUNTPOINT"
-
- for d in ${DIRS[@]}; do
- PARAMS="${PARAMS}${d}=RW:"
- done
- PARAMS="${PARAMS%:}"
- unionfs-fuse -o allow_other $PARAMS $MOUNTPOINT
-}
-
-do_umount() {
- echo "Unmounting $MOUNTPOINT"
- fusermount -u $MOUNTPOINT
-}
-
-if mount|grep $MOUNTPOINT >/dev/null; then
- do_umount
-else
- do_mount
-fi
-

Deleted dircolors

@@ -1,227 +1,0
-# Configuration file for dircolors, a utility to help you set the
-# LS_COLORS environment variable used by GNU ls with the --color option.
-# Copyright (C) 1996, 1999-2010 Free Software Foundation, Inc.
-# Copying and distribution of this file, with or without modification,
-# are permitted provided the copyright notice and this notice are preserved.
-# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
-# slackware version of dircolors) are recognized but ignored.
-# Below, there should be one TERM entry for each termtype that is colorizable
-TERM Eterm
-TERM ansi
-TERM color-xterm
-TERM con132x25
-TERM con132x30
-TERM con132x43
-TERM con132x60
-TERM con80x25
-TERM con80x28
-TERM con80x30
-TERM con80x43
-TERM con80x50
-TERM con80x60
-TERM cons25
-TERM console
-TERM cygwin
-TERM dtterm
-TERM eterm-color
-TERM gnome
-TERM gnome-256color
-TERM jfbterm
-TERM konsole
-TERM kterm
-TERM linux
-TERM linux-c
-TERM mach-color
-TERM mlterm
-TERM putty
-TERM rxvt
-TERM rxvt-256color
-TERM rxvt-cygwin
-TERM rxvt-cygwin-native
-TERM rxvt-unicode
-TERM rxvt-unicode256
-TERM screen
-TERM screen-256color
-TERM screen-256color-bce
-TERM screen-bce
-TERM screen-w
-TERM screen.linux
-TERM vt100
-TERM xterm
-TERM xterm-16color
-TERM xterm-256color
-TERM xterm-88color
-TERM xterm-color
-TERM xterm-debian
-# Below are the color init strings for the basic file types. A color init
-# string consists of one or more of the following numeric codes:
-# Attribute codes:
-# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
-# Text color codes:
-# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
-# Background color codes:
-# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
-
-## dircolors 256 COLOR SUPPORT (see here: http://www.mail-archive.com/bug-coreutils@gnu.org/msg11030.html)
-# Text 256 color coding:
-# 38;5;COLOR_NUMBER
-# Background 256 color coding:
-# 48;5;COLOR_NUMBER
-
-NORMAL 00;38;5;244 # no color code at all
-#FILE 00 # regular file: use no color at all
-RESET 0 # reset to "normal" color
-DIR 00;38;5;33 # directory 01;34
-LINK 01;38;5;33 # symbolic link. (If you set this to 'target' instead of a
- # numerical value, the color is as for the file pointed to.)
-MULTIHARDLINK 00 # regular file with more than one link
-FIFO 48;5;230;38;5;136;01 # pipe
-SOCK 48;5;230;38;5;136;01 # socket
-DOOR 48;5;230;38;5;136;01 # door
-BLK 48;5;230;38;5;244;01 # block device driver
-CHR 48;5;230;38;5;244;01 # character device driver
-ORPHAN 48;5;235;38;5;160 # symlink to nonexistent file, or non-stat'able file
-SETUID 48;5;160;38;5;230 # file that is setuid (u+s)
-SETGID 48;5;136;38;5;230 # file that is setgid (g+s)
-CAPABILITY 30;41 # file with capability
-STICKY_OTHER_WRITABLE 48;5;64;38;5;230 # dir that is sticky and other-writable (+t,o+w)
-OTHER_WRITABLE 48;5;235;38;5;33 # dir that is other-writable (o+w) and not sticky
-STICKY 48;5;33;38;5;230 # dir with the sticky bit set (+t) and not other-writable
-# This is for files with execute permission:
-EXEC 01;38;5;64
-# List any file extensions like '.gz' or '.tar' that you would like ls
-# to colorize below. Put the extension, a space, and the color init string.
-# (and any comments you want to add after a '#')
-# If you use DOS-style suffixes, you may want to uncomment the following:
-#.cmd 01;32 # executables (bright green)
-#.exe 01;32
-#.com 01;32
-#.btm 01;32
-#.bat 01;32
-# Or if you want to colorize scripts even if they do not have the
-# executable bit actually set.
-#.sh 01;32
-#.csh 01;32
-
- # archives or compressed (violet + bold for compression)
-.tar 00;38;5;61
-.tgz 01;38;5;61
-.arj 01;38;5;61
-.taz 01;38;5;61
-.lzh 01;38;5;61
-.lzma 01;38;5;61
-.tlz 01;38;5;61
-.txz 01;38;5;61
-.zip 01;38;5;61
-.z 01;38;5;61
-.Z 01;38;5;61
-.dz 01;38;5;61
-.gz 01;38;5;61
-.lz 01;38;5;61
-.xz 01;38;5;61
-.bz2 01;38;5;61
-.bz 01;38;5;61
-.tbz 01;38;5;61
-.tbz2 01;38;5;61
-.tz 01;38;5;61
-.deb 01;38;5;61
-.rpm 01;38;5;61
-.jar 01;38;5;61
-.rar 01;38;5;61
-.ace 01;38;5;61
-.zoo 01;38;5;61
-.cpio 01;38;5;61
-.7z 01;38;5;61
-.rz 01;38;5;61
-.apk 01;38;5;61
-
-# image formats (yellow)
-.jpg 00;38;5;136
-.JPG 00;38;5;136 #stupid but needed
-.jpeg 00;38;5;136
-.gif 00;38;5;136
-.bmp 00;38;5;136
-.pbm 00;38;5;136
-.pgm 00;38;5;136
-.ppm 00;38;5;136
-.tga 00;38;5;136
-.xbm 00;38;5;136
-.xpm 00;38;5;136
-.tif 00;38;5;136
-.tiff 00;38;5;136
-.png 00;38;5;136
-.svg 00;38;5;136
-.svgz 00;38;5;136
-.mng 00;38;5;136
-.pcx 00;38;5;136
-.dl 00;38;5;136
-.xcf 00;38;5;136
-.xwd 00;38;5;136
-.yuv 00;38;5;136
-.cgm 00;38;5;136
-.emf 00;38;5;136
-.eps 00;38;5;136
-
-# files of interest (base1 + bold)
-.pdf 01;38;5;245
-.tex 01;38;5;245
-.rdf 01;38;5;245
-.owl 01;38;5;245
-.n3 01;38;5;245
-.tt 01;38;5;245
-.nt 01;38;5;245
-
-# "unimportant" files as logs and backups (base01)
-.log 00;38;5;240
-.bak 00;38;5;240
-.aux 00;38;5;240
-.bbl 00;38;5;240
-.blg 00;38;5;240
-*~ 00;38;5;240
-*# 00;38;5;240
-
-# audio formats (orange)
-.aac 00;38;5;166
-.au 00;38;5;166
-.flac 00;38;5;166
-.mid 00;38;5;166
-.midi 00;38;5;166
-.mka 00;38;5;166
-.mp3 00;38;5;166
-.mpc 00;38;5;166
-.ogg 00;38;5;166
-.ra 00;38;5;166
-.wav 00;38;5;166
-# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
-.axa 00;38;5;166
-.oga 00;38;5;166
-.spx 00;38;5;166
-.xspf 00;38;5;166
-
-# video formats (as audio + bold)
-.mov 01;38;5;166
-.mpg 01;38;5;166
-.mpeg 01;38;5;166
-.m2v 01;38;5;166
-.mkv 01;38;5;166
-.ogm 01;38;5;166
-.mp4 01;38;5;166
-.m4v 01;38;5;166
-.mp4v 01;38;5;166
-.vob 01;38;5;166
-.qt 01;38;5;166
-.nuv 01;38;5;166
-.wmv 01;38;5;166
-.asf 01;38;5;166
-.rm 01;38;5;166
-.rmvb 01;38;5;166
-.flc 01;38;5;166
-.avi 01;38;5;166
-.fli 01;38;5;166
-.flv 01;38;5;166
-.gl 01;38;5;166
-# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
-.axv 01;38;5;166
-.anx 01;38;5;166
-.ogv 01;38;5;166
-.ogx 01;38;5;166

Deleted kde4/CandyPastels.colorscheme

@@ -1,84 +1,0
-[Background]
-Color=0,0,0
-Transparency=true
-
-[BackgroundIntense]
-Color=0,0,0
-Transparency=true
-
-[Color0]
-Color=0,0,0
-Transparency=false
-
-[Color0Intense]
-Color=104,104,104
-Transparency=false
-
-[Color1]
-Color=222,33,33
-Transparency=false
-
-[Color1Intense]
-Color=229,34,34
-Transparency=false
-
-[Color2]
-Color=156,213,41
-Transparency=false
-
-[Color2Intense]
-Color=166,227,45
-Transparency=false
-
-[Color3]
-Color=221,130,26
-Transparency=false
-
-[Color3Intense]
-Color=252,149,30
-Transparency=false
-
-[Color4]
-Color=157,114,206
-Transparency=false
-
-[Color4Intense]
-Color=196,141,255
-Transparency=false
-
-[Color5]
-Color=221,32,101
-Transparency=false
-
-[Color5Intense]
-Color=250,37,115
-Transparency=false
-
-[Color6]
-Color=92,196,216
-Transparency=false
-
-[Color6Intense]
-Color=102,217,240
-Transparency=false
-
-[Color7]
-Color=213,213,213
-Transparency=false
-
-[Color7Intense]
-Color=242,242,242
-Transparency=false
-
-[Foreground]
-Color=242,242,242
-Transparency=false
-
-[ForegroundIntense]
-Bold=true
-Color=242,242,242
-Transparency=false
-
-[General]
-Description=Candy Pastels
-Opacity=0.91

Deleted maildirproc.rc

@@ -1,30 +1,0
-# vim: ft=python
-
-processor.maildir_base = "~/.mail/notes"
-processor.maildirs = ["."]
-processor.logfile = "/dev/null"
-processor.auto_reload_rc_file = True
-
-for mail in processor:
- if mail["subject"].contains("[Work Item"):
- mail.move(".RTC")
-
- elif (mail["subject"].matches(r"^Invitation|^Rescheduled|^Cancelled") or
- mail["subject"].matches(r"^Accepted|^Declined") or
- mail["subject"].contains("Rookery") or
- mail["subject"].contains("Information Update")):
- mail.move(".Invitations")
-
- elif (mail["subject"].matches(r"^IBM Not.cias|^Friday News |^Wednesday News ") or
- mail["subject"].contains("TAP ") or
- mail["subject"].contains("TLC ") or
- mail["from"].contains("noreply@linux.ibm.com") or
- mail["from"].contains("brlabcom@br.ibm.com")):
- mail.move(".Noticias")
-
- elif (mail["subject"].matches(r"^ABAT") or
- mail["subject"].contains("SOS Order") or
- mail["subject"].contains("Request Submitted") or
- mail["subject"].contains("bugzilla") or
- mail["from"].matches(r".*@abat.linux.ibm.com")):
- mail.move(".Infra")

Deleted mutt/bin/mutt-notmuch

@@ -1,190 +1,0
-#!/usr/bin/perl -w
-#
-# mutt-notmuch - notmuch (of a) helper for Mutt
-#
-# Copyright: © 2011 Stefano Zacchiroli <zack@upsilon.cc>
-# License: GNU General Public License (GPL), version 3 or above
-#
-# See the bottom of this file for more documentation.
-# A manpage can be obtained by running "pod2man mutt-notmuch > mutt-notmuch.1"
-
-use strict;
-use warnings;
-
-use File::Path;
-use Getopt::Long;
-use Mail::Internet;
-use Mail::Box::Maildir;
-use Pod::Usage;
-
-
-# create an empty maildir (if missing) or empty an existing maildir"
-sub empty_maildir($) {
- my ($maildir) = (@_);
- rmtree($maildir) if (-d $maildir);
- my $folder = new Mail::Box::Maildir(folder => $maildir,
- create => 1);
- $folder->close();
-}
-
-# search($maildir, $query)
-# search mails according to $query with notmuch; store results in $maildir
-sub search($$) {
- my ($maildir, $query) = @_;
-
- empty_maildir($maildir);
- system("notmuch search --output=files $query"
- . " | sed -e 's: :\\\\ :g'"
- . " | xargs --no-run-if-empty ln -s -t $maildir/cur/");
-}
-
-sub search_action($$@) {
- my ($interactive, $results_dir, @params) = @_;
-
- if (! $interactive) {
- search($results_dir, join(' ', @params));
- } else {
- my $query = "";
- my $done = 0;
- while (! $done) {
- print "search ('?' for man): ";
- chomp($query = <STDIN>);
- if ($query eq "?") {
- system("man notmuch");
- } elsif ($query eq "") {
- $done = 1; # quit doing nothing
- } else {
- search($results_dir, $query);
- $done = 1;
- }
- }
- }
-}
-
-sub thread_action(@) {
- my ($results_dir, @params) = @_;
-
- my $mail = Mail::Internet->new(\*STDIN);
- $mail->head->get('message-id') =~ /^<(.*)>$/; # get message-id
- my $mid = $1;
- my $tid = `notmuch search --output=threads id:$mid`;# get thread id
- chomp($tid);
-
- search($results_dir, $tid);
-}
-
-sub die_usage() {
- my %podflags = ( "verbose" => 1,
- "exitval" => 2 );
- pod2usage(%podflags);
-}
-
-sub main() {
- my $results_dir = "$ENV{HOME}/.cache/mutt_results";
- my $interactive = 0;
- my $help_needed = 0;
-
- my $getopt = GetOptions(
- "h|help" => \$help_needed,
- "o|output-dir=s" => \$results_dir,
- "p|prompt" => \$interactive);
- if (! $getopt || $#ARGV < 0) { die_usage() };
- my ($action, @params) = ($ARGV[0], @ARGV[1..$#ARGV]);
-
- if ($help_needed) {
- die_usage();
- } elsif ($action eq "search" && $#ARGV == 0 && ! $interactive) {
- print STDERR "Error: no search term provided\n\n";
- die_usage();
- } elsif ($action eq "search") {
- search_action($interactive, $results_dir, @params);
- } elsif ($action eq "thread") {
- thread_action($results_dir, @params);
- } else {
- die_usage();
- }
-}
-
-main();
-
-__END__
-
-=head1 NAME
-
-mutt-notmuch - notmuch (of a) helper for Mutt
-
-=head1 SYNOPSIS
-
-=over
-
-=item B<mutt-notmuch> [I<OPTION>]... search [I<SEARCH-TERM>]...
-
-=item B<mutt-notmuch> [I<OPTION>]... thread < I<MAIL>
-
-=back
-
-=head1 DESCRIPTION
-
-mutt-notmuch is a frontend to the notmuch mail indexer capable of populating
-maildir with search results.
-
-=head1 OPTIONS
-
-=over 4
-
-=item -o DIR
-
-=item --output-dir DIR
-
-Store search results as (symlink) messages under maildir DIR. Beware: DIR will
-be overwritten. (Default: F<~/.cache/mutt_results/>)
-
-=item -p
-
-=item --prompt
-
-Instead of using command line search terms, prompt the user for them (only for
-"search").
-
-=item -h
-
-=item --help
-
-Show usage information and exit.
-
-=back
-
-=head1 INTEGRATION WITH MUTT
-
-mutt-notmuch can be used to integrate notmuch with the Mutt mail user agent
-(unsurprisingly, given the name). To that end, you should define the following
-macros in your F<~/.muttrc> (replacing F<~/bin/mutt-notmuch> for the actual
-location of mutt-notmuch on your system):
-
- macro index <F8> \
- "<enter-command>unset wait_key<enter><shell-escape>~/bin/mutt-notmuch --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \
- "search mail (using notmuch)"
- macro index <F9> \
- "<enter-command>unset wait_key<enter><pipe-message>~/bin/mutt-notmuch thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set wait_key<enter>" \
- "search and reconstruct owning thread (using notmuch)"
-
-The first macro (activated by <F8>) will prompt the user for notmuch search
-terms and then jump to a temporary maildir showing search results. The second
-macro (activated by <F9>) will reconstruct the thread corresponding to the
-current mail and show it as search results.
-
-To keep notmuch index current you should then periodically run C<notmuch
-new>. Depending on your local mail setup, you might want to do that via cron,
-as a hook triggered by mail retrieval, etc.
-
-=head1 SEE ALSO
-
-mutt(1), notmuch(1)
-
-=head1 AUTHOR
-
-Copyright: (C) 2011 Stefano Zacchiroli <zack@upsilon.cc>
-
-License: GNU General Public License (GPL), version 3 or higher
-
-=cut

Deleted mutt/colors

@@ -1,151 +1,0
-# vim: filetype=muttrc
-
-#
-#
-# make sure that you are using mutt linked against slang, not ncurses, or
-# suffer the consequences of weird color issues. use "mutt -v" to check this.
-
-# custom body highlights -----------------------------------------------
-# highlight my name and other personally relevant strings
-#color body color136 color234 "(ethan|schoonover)"
-# custom index highlights ----------------------------------------------
-# messages which mention my name in the body
-#color index color136 color234 "~b \"phil(_g|\!| gregory| gold)|pgregory\" !~N !~T !~F !~p !~P"
-#color index J_cream color230 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~N !~T !~F !~p !~P"
-#color index color136 color37 "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~T !~F !~p !~P"
-#color index color136 J_magent "~b \"phil(_g|\!| gregory| gold)|pgregory\" ~F !~p !~P"
-## messages which are in reference to my mails
-#color index J_magent color234 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" !~N !~T !~F !~p !~P"
-#color index J_magent color230 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~N !~T !~F !~p !~P"
-#color index J_magent color37 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~T !~F !~p !~P"
-#color index J_magent color160 "~x \"(mithrandir|aragorn)\\.aperiodic\\.net|thorin\\.hillmgt\\.com\" ~F !~p !~P"
-
-# for background in 16 color terminal, valid background colors include:
-# base03, bg, black, any of the non brights
-
-# basic colors ---------------------------------------------------------
-color normal color241 color234
-color error color160 color234
-color tilde color235 color234
-color message color37 color234
-color markers color160 color254
-color attachment color254 color234
-color search color61 color234
-# color status J_black J_status
-color status color241 color235
-color indicator color234 color136
-color tree color136 color234 # arrow in threads
-
-# basic monocolor screen
-mono bold bold
-mono underline underline
-mono indicator reverse
-mono error bold
-
-# index ----------------------------------------------------------------
-
-color index color160 color234 "~D(!~p|~p)" # deleted
-color index color235 color234 ~F # flagged
-color index color166 color234 ~= # duplicate messages
-color index color240 color234 "~A!~N!~T!~p!~Q!~F!~D!~P" # the rest
-# color index J_base color234 "~A~N!~T!~p!~Q!~F!~D" # the rest, new
-color index color160 color234 "~A" # all messages
-color index color166 color234 "~E" # expired messages
-color index color33 color234 "~N" # new messages
-color index color33 color234 "~O" # old messages
-color index color61 color234 "~Q" # messages that have been replied to
-color index color240 color234 "~R" # read messages
-color index color33 color234 "~U" # unread messages
-color index color33 color234 "~U~$" # unread, unreferenced messages
-color index color241 color234 "~v" # messages part of a collapsed thread
-color index color241 color234 "~P" # messages from me
-color index color37 color234 "~p!~F" # messages to me
-color index color37 color234 "~N~p!~F" # new messages to me
-color index color37 color234 "~U~p!~F" # unread messages to me
-color index color240 color234 "~R~p!~F" # messages to me
-color index color160 color234 "~F" # flagged messages
-color index color160 color234 "~F~p" # flagged messages to me
-color index color160 color234 "~N~F" # new flagged messages
-color index color160 color234 "~N~F~p" # new flagged messages to me
-color index color160 color234 "~U~F~p" # new flagged messages to me
-color index color235 color160 "~D" # deleted messages
-color index color245 color234 "~v~(!~N)" # collapsed thread with no unread
-color index color136 color234 "~v~(~N)" # collapsed thread with some unread
-color index color64 color234 "~N~v~(~N)" # collapsed thread with unread parent
-# statusbg used to indicated flagged when foreground color shows other status
-# for collapsed thread
-color index color160 color235 "~v~(~F)!~N" # collapsed thread with flagged, no unread
-color index color136 color235 "~v~(~F~N)" # collapsed thread with some unread & flagged
-color index color64 color235 "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
-color index color64 color235 "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
-color index color37 color235 "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
-color index color136 color160 "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
-color index color136 color234 "~(~N)" # messages in threads with some unread
-color index color64 color234 "~S" # superseded messages
-color index color160 color234 "~T" # tagged messages
-color index color166 color160 "~=" # duplicated messages
-
-# message headers ------------------------------------------------------
-
-color header color240 color234 "^"
-color hdrdefault color240 color234
-color header color241 color234 "^(From)"
-color header color33 color234 "^(Subject)"
-
-# body -----------------------------------------------------------------
-
-color quoted color33 color234
-color quoted1 color37 color234
-color quoted2 color136 color234
-color quoted3 color160 color234
-color quoted4 color166 color234
-
-color signature color240 color234
-color bold color235 color234
-color underline color235 color234
-color normal color244 color234
-#
-color body color245 color234 "[;:][-o][)/(|]" # emoticons
-color body color245 color234 "[;:][)(|]" # emoticons
-color body color245 color234 "[*]?((N)?ACK|CU|LOL|SCNR|BRB|BTW|CWYL|\
- |FWIW|vbg|GD&R|HTH|HTHBE|IMHO|IMNSHO|\
- |IRL|RTFM|ROTFL|ROFL|YMMV)[*]?"
-color body color245 color234 "[ ][*][^*]*[*][ ]?" # more emoticon?
-color body color245 color234 "[ ]?[*][^*]*[*][ ]" # more emoticon?
-
-## pgp
-
-color body color160 color234 "(BAD signature)"
-color body color37 color234 "(Good signature)"
-color body color234 color234 "^gpg: Good signature .*"
-color body color241 color234 "^gpg: "
-color body color241 color160 "^gpg: BAD signature from.*"
-mono body bold "^gpg: Good signature"
-mono body bold "^gpg: BAD signature from.*"
-
-# yes, an insance URL regex
-color body color160 color234 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
-# and a heavy handed email regex
-#color body J_magent color234 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
-
-# Various smilies and the like
-#color body color230 color234 "<[Gg]>" # <g>
-#color body color230 color234 "<[Bb][Gg]>" # <bg>
-#color body color136 color234 " [;:]-*[})>{(<|]" # :-) etc...
-# *bold*
-#color body color33 color234 "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
-#mono body bold "(^|[[:space:][:punct:]])\\*[^*]+\\*([[:space:][:punct:]]|$)"
-# _underline_
-#color body color33 color234 "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
-#mono body underline "(^|[[:space:][:punct:]])_[^_]+_([[:space:][:punct:]]|$)"
-# /italic/ (Sometimes gets directory names)
-#color body color33 color234 "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
-#mono body underline "(^|[[:space:][:punct:]])/[^/]+/([[:space:][:punct:]]|$)"
-
-# Border lines.
-#color body color33 color234 "( *[-+=#*~_]){6,}"
-
-#folder-hook . "color status J_black J_status "
-#folder-hook gmail/inbox "color status J_black color136 "
-#folder-hook gmail/important "color status J_black color136 "
-

Deleted mutt/macros

@@ -1,23 +1,0
-# vim: ft=muttrc
-
-# get the url view working
-macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
-macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
-
-# b toggles sidebar visibility
-macro index b ':toggle sidebar_visible '
-macro pager b ':toggle sidebar_visible '
-
-macro index \Cr "<tag-pattern>~N\n<tag-prefix><clear-flag>N" \
- "Mark all new messages as read"
-
-macro index *A "<tag-pattern>~A\n" "select all messages"
-macro index *U "<tag-pattern>~U\n" "select unread messages"
-macro index I "<tag-prefix><toggle-new>" "mark selected messages as read"
-
-macro index ,f \
- "<enter-command>unset wait_key<enter><shell-escape>~/.mutt/bin/mutt-notmuch --prompt search<enter><change-folder-readonly>~/.cache/mutt_results<enter>" \
- "search mail (using notmuch)"
-macro index ,t \
- "<enter-command>unset wait_key<enter><pipe-message>~/.mutt/bin/mutt-notmuch thread<enter><change-folder-readonly>~/.cache/mutt_results<enter><enter-command>set wait_key<enter>" \
- "search and reconstruct owning thread (using notmuch)"

Deleted mutt/mailboxes

@@ -1,1 +1,0
-mailboxes "+work/Drafts" "+work/INBOX" "+work/JunkMail" "+work/JunkMail.LearnasHAM" "+work/JunkMail.LearnasSPAM" "+work/Queue" "+work/Sent" "+work/Trash" "+work/abat" "+work/archive" "+work/augeas" "+work/bugzilla" "+work/builds" "+work/fedora-buildsys" "+work/fedora-devel" "+work/fedora-ppc" "+work/fedora-releng" "+work/infra" "+work/invitations" "+work/kernel-br" "+work/ltc" "+work/ltc-br" "+work/ltc-interlock" "+work/ltc-morale" "+work/merged-sst" "+work/powerpack" "+work/vpl-sst"

Deleted mutt/mailcap

@@ -1,5 +1,0
-text/html; w3m -I %{charset} -T text/html; copiousoutput;
-application/pdf; mutt_bgrun zathura %s
-application/x-pdf; mutt_bgrun zathura %s
-image/*; mutt_bgrun viewnior %s
-

Deleted mutt/muttrc

@@ -1,182 +1,0
-# vim: filetype=muttrc
-
-set realname="Caio Romão"
-set from="rcaio@br.ibm.com"
-set sendmail="/usr/bin/msmtp"
-set envelope_from=yes
-set edit_headers=yes
-set editor="vim"
-
-set sort=threads
-set sort_aux=reverse-last-date-received
-set sort_browser=reverse-date
-
-set mail_check=30
-set mbox_type=Maildir
-set folder=$HOME/.mail
-set mbox="+work/archive"
-set spoolfile="+work/INBOX"
-set postponed="+work/Drafts"
-set trash="+work/Trash"
-set record="+work/Sent"
-
-mailboxes +TODO +notes
-mailboxes `\
-for file in ~/.mail/notes/.*; do \
- box=$(basename "$file"); \
- if [ ! "$box" = '.' -a ! "$box" = '..' -a ! "$box" = '.customflags' \
- -a ! "$box" = '.subscriptions' ]; then \
- echo -n "\"+notes/$box\" "; \
- fi; \
-done`
-source $HOME/.mutt/mailboxes
-
-# set imap_check_subscribed=yes
-set header_cache=~/.mutt/headercache
-set sig_dashes
-set signature=~/.signature
-
-set ssl_starttls=no
-
-set sidebar_visible=yes
-set sidebar_width=35
-set sidebar_delim="|"
-set sidebar_sort=yes
-
-set query_command = "~/bin/bluepages --mutt '%s'"
-set beep_new=yes
-set ascii_chars=yes
-set auto_tag=yes
-set autoedit=yes
-set charset="utf-8"
-set config_charset="utf-8"
-set confirmappend=no
-set delete=yes
-set include=yes
-set mark_old=no
-set move=yes
-set pager_index_lines=15
-set prompt_after=no
-set read_inc=25
-set reply_to=yes
-set reverse_name=yes
-set save_empty=no
-set send_charset="utf-8:iso-8859-1"
-set tilde=yes
-set write_inc=25
-set collapse_unread=no
-set reply_regexp="^(re([\[0-9\]+])*|aw|res):[ \t]*"
-set rfc2047_parameters=yes
-set markers
-set smart_wrap
-
-# load colors
-source $HOME/.mutt/colors
-
-# Header fields I don't normally want to see
-ignore *
-unignore From:
-unignore To:
-unignore Reply-To:
-unignore Mail-Followup-To:
-unignore Subject:
-unignore Date:
-unignore CC:
-unignore BCC:
-unignore x-mailer
-unignore x-url
-hdr_order From: Return-Path: Reply-To: Date: Subject: Importance:
-
-# Formatting
-set compose_format="-- %v-- Compose [Approximate Message Size: %l Attachments: %a]%>-"
-set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] "
-set alias_format="%4n %2f %t %-12a %r"
-set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s-%>-%P-"
-set folder_format="%3C %t%N %F %-8.8u %-8.8g %8s %d %f"
-set message_format="%-.16n: %s"
-set pager_format="~~~~~~~~~ On %{%a, %d %b %Y} at [%[%H:%M]]: %s %|~"
-set attribution='On %{%a, %d %b %Y}, %n wrote:\n'
-set forward_format = "[%s]"
-
-# bindings
-# ctrl-n, ctrl-p to select next, prev folder
-# ctrl-o to open selected folder
-bind index \CP sidebar-prev
-bind index \CN sidebar-next
-bind index \CO sidebar-open
-bind pager \CP sidebar-prev
-bind pager \CN sidebar-next
-bind pager \CO sidebar-open
-
-# emacs-like bindings for moving to top/bottom
-bind generic "\e<" first-entry
-bind generic \e> last-entry
-bind generic { top-page
-bind generic } bottom-page
-bind generic \177 last-entry
-
-bind index G group-reply
-bind pager G group-reply
-
-bind index - collapse-thread
-
-bind index S save-message
-bind pager S save-message
-
-source $HOME/.mutt/macros
-
-# Automatically use entries from ~/.mailcap to view these MIME types
-set mailcap_path=$HOME/.mutt/mailcap
-# auto_view application/x-gunzip
-# auto_view application/x-gzip
-auto_view text/html
-alternative_order text/enriched text/plain text/html
-mime_lookup application/octec-stream
-
-# aliases for broken MUAs
-charset-hook US-ASCII ISO-8859-1
-charset-hook us-ascii ISO-8859-1
-charset-hook x-unknown ISO-8859-1
-charset-hook windows-1250 CP1250
-charset-hook windows-1251 CP1251
-charset-hook windows-1252 CP1252
-charset-hook windows-1253 CP1253
-charset-hook windows-1254 CP1254
-charset-hook windows-1255 CP1255
-charset-hook windows-1256 CP1256
-charset-hook windows-1257 CP1257
-charset-hook windows-1258 CP1258
-
-# hooks
-folder-hook +work.* set from="caio@linux.vnet.ibm.com"
-folder-hook +notes.* set from="rcaio@br.ibm.com"
-folder-hook +.* macro index s "<copy-message>=TODO<enter>"
-folder-hook +.* macro pager s "<copy-message>=TODO<enter>"
-folder-hook +TODO.* macro index s "<delete-message>"
-folder-hook +TODO.* macro pager s "<delete-message>"
-
-# "e" to archive/unarchive messages
-folder-hook +notes.* macro index e "<save-message>=notes/.Archive<enter>"
-folder-hook +notes.* macro pager e "<save-message>=notes/.Archive<enter>"
-folder-hook +notes/\.Archive macro index e "<save-message>=notes<enter>"
-folder-hook +notes/\.Archive macro pager e "<save-message>+notes<enter>"
-
-folder-hook +work.* macro index e "<save-message>=work/archive<enter>"
-folder-hook +work.* macro pager e "<save-message>=work/archive<enter>"
-folder-hook +work/archive macro index e "<save-message>=work/INBOX<enter>"
-folder-hook +work/archive macro pager e "<save-message>=work/INBOX<enter>"
-
-# Shortcut for inboxes
-folder-hook +work.* macro index gi "<change-folder>=work/INBOX<enter>"
-folder-hook +work.* macro pager gi "<change-folder>=work/INBOX<enter>"
-folder-hook +notes.* macro index gi "<change-folder>=notes<enter>"
-folder-hook +notes.* macro pager gi "<change-folder>=notes<enter>"
-
-folder-hook +work.* macro index ga "<change-folder>=work/archive<enter>"
-folder-hook +work.* macro pager ga "<change-folder>=work/archive<enter>"
-folder-hook +notes.* macro index ga "<change-folder>=notes/.Archive<enter>"
-folder-hook +notes.* macro pager ga "<change-folder>=notes/.Archive<enter>"
-
-macro index gs "<change-folder>=TODO<enter>"
-
-folder-hook . push "<collapse-all>"

Deleted notmuch-config

@@ -1,68 +1,0
-# .notmuch-config - Configuration file for the notmuch mail system
-#
-# For more information about notmuch, see http://notmuchmail.org
-
-# Database configuration
-#
-# The only value supported here is 'path' which should be the top-level
-# directory where your mail currently exists and to where mail will be
-# delivered in the future. Files should be individual email messages.
-# Notmuch will store its database within a sub-directory of the path
-# configured here named ".notmuch".
-#
-[database]
-path=/home/rcaio/.mail/
-
-# User configuration
-#
-# Here is where you can let notmuch know how you would like to be
-# addressed. Valid settings are
-#
-# name Your full name.
-# primary_email Your primary email address.
-# other_email A list (separated by ';') of other email addresses
-# at which you receive email.
-#
-# Notmuch will use the various email addresses configured here when
-# formatting replies. It will avoid including your own addresses in the
-# recipient list of replies, and will set the From address based on the
-# address to which the original email was addressed.
-#
-[user]
-name=Caio Romão Costa Nascimento
-primary_email=rcaio@br.ibm.com
-other_email=caio@linux.vnet.ibm.com;rcaio@linux.vnet.ibm.com;caioromao@linux.vnet.ibm.com;
-
-# Configuration for "notmuch new"
-#
-# The following options are supported here:
-#
-# tags A list (separated by ';') of the tags that will be
-# added to all messages incorporated by "notmuch new".
-#
-[new]
-tags=unread;
-
-# Maildir compatibility configuration
-#
-# The following option is supported here:
-#
-# synchronize_flags Valid values are true and false.
-#
-# If true, then the following maildir flags (in message filenames)
-# will be syncrhonized with the corresponding notmuch tags:
-#
-# Flag Tag
-# ---- -------
-# D draft
-# F flagged
-# P passed
-# R replied
-# S unread (added when 'S' flag is not present)
-#
-# The "notmuch new" command will notice flag changes in filenames
-# and update tags, while the "notmuch tag" and "notmuch restore"
-# commands will notice tag changes and update flags in filenames
-#
-[maildir]
-synchronize_flags=true

Deleted setup.sh

@@ -1,32 +1,0
-#!/bin/bash
-# Dirty symlink setup for common dotfiles
-# This won't remove anything, instead, it'll print the name
-# of the existing file so you can script your way to remove it.
-# Example:
-# >>> ./setup.sh | awk '{ print $1 }'| xargs rm -rf; ./setup.sh
-# >>> # This will remove every conflicting file and start again.
-
-WORKDIR=$(pwd)
-DESTDIR=${HOME}
-
-BASHFILES="bashrc source"
-VCSFILES="gitconfig hgrc bazaar"
-BASEFILES="Xdefaults fonts pythonrc.py ipython irbrc screenrc inputrc dircolors"
-
-function setup_symlinks
-{
- for file in $*
- do
- dest="${DESTDIR}/.$file"
- [ -e $dest ] &&
- echo "$dest exists. " &&
- continue
- ln -fs ${WORKDIR}/$file $dest
- done
-}
-
-setup_symlinks $BASHFILES
-setup_symlinks mplayer
-setup_symlinks ssh
-setup_symlinks $VCSFILES
-setup_symlinks $BASEFILES

Deleted urlview

@@ -1,2 +1,0
-REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):]
-COMMAND google-chrome %s

Deleted zshrc

@@ -1,81 +1,0
-export ZSH=$HOME/.oh-my-zsh
-export ZSH_THEME="caioromao"
-export CASE_SENSITIVE="true"
-export DISABLE_AUTO_UPDATE="true"
-
-# Example format: plugins=(rails git textmate ruby lighthouse)
-plugins=(git make-dir-complete fabric gem task)
-
-source $ZSH/oh-my-zsh.sh
-
-
-# Customizations (Backported from bashrc)
-
-# {{{ Helpers
-pathremove() {
- local NEWPATH
- local DIR
- local PATHVARIABLE=${2:-PATH}
- local PATHCONTENT=$(eval echo \$$PATHVARIABLE)
- for DIR in ${(s/:/)PATHCONTENT}; do
- if [ "$DIR" != "$1" ] ; then
- NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
- fi
- done
- export $PATHVARIABLE="$NEWPATH"
-}
-
-pathprepend() {
- pathremove $1 $2
- local PATHVARIABLE=${2:-PATH}
- local PATHCONTENT=$(eval echo \$$PATHVARIABLE)
- export $PATHVARIABLE="${1}:${PATHCONTENT}"
-}
-
-pathappend() {
- pathremove $1 $2
- local PATHVARIABLE=${2:-PATH}
- local PATHCONTENT=$(eval echo \$$PATHVARIABLE)
- export $PATHVARIABLE="${PATHCONTENT}:${1}"
-}
-
-do_append() {
- [ -d $1 ] && pathappend $*
-}
-
-do_prepend() {
- [ -d $1 ] && pathprepend $*
-}
-
-do_source() {
- [ -r $1 ] && source $1
-}
-# }}}
-
-# Exports
-export EDITOR=vim
-export WORKON_HOME=${HOME}/.virtualenvs
-export PIP_VIRTUALENV_BASE=$WORKON_HOME
-
-# make-dir-complete settings
-make_dir_complete dl ~/download/
-make_dir_complete jk ~/src/
-make_dir_complete h ~/
-
-# setup *PATH variables
-do_prepend ~/bin
-do_append /opt/google-appengine
-do_append ~/.source/ PYTHONPATH
-
-# load virtualenvwrapper
-SCRIPTS=(
-~/.source/virtualenvwrapper/virtualenvwrapper.sh
-~/.pythonbrew/etc/bashrc
-~/.rvm/scripts/rvm
-~/.source/virtualenvwrapper/virtualenvwrapper.sh
-)
-
-for script in $SCRIPTS; do
- source $script
-done
-