Commit 23e8fa16 authored by Mattia Rizzolo's avatar Mattia Rizzolo

Initial commit

parents
background yes
use_xft yes
xftfont ubuntu:size=8
default_color white
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_shade_color black
default_outline_color black
alignment top_left
gap_x 1140
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 4
net_avg_samples 2
override_utf8_locale yes
use_spacer none
out_to_console no
TEXT
# ora grande
${offset -10}${voffset -10}${font arial black:size=35}${time %l:%M %p}
# data
${voffset -20}${font arial black:size=30}${time %e}${font arial black:size=10} ${voffset -20}${time %A}
# uptime
${voffset -2}${goto 70}${font}UP: $uptime${voffset 5}
# calendario
#${font LucidaConsole:size=8.5}${texeci 600 cal}
# info sul sistema:
${voffset -95}${goto 160}${color #80a0ff}${font Syco:size=75}T$font${voffset -2}
#${font Webdings:size=30}!$font$color${voffset -34}
${font Webdings:size=30}$font$color${voffset -34}
${goto 47}$sysname on $machine${voffset -1}
${goto 47}kernel $kernel${voffset -1}
#${goto 47}${pre_exec whoami} @ $nodename${voffset 5}
# governor+MHz
${goto 11}${color #ccff00}${font StyleBats:size=17}Q$font$color${voffset -6}${goto 40}${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}: ${freq}MHz${voffset 6}
# uso cpu
#${font Lucida Handwriting:size=8}${color #0055ff}CPU: ${color #ff2200}${exec cat /proc/omnibook/temperature | awk '{print $3}'}C$color${goto 107}$cpu%${goto 137}${cpubar cpu0}$font
${font Lucida Handwriting:size=8}${color #0055ff}CPU: ${color #ff2200}${exec sensors|head -n 3|tail -n 1|awk '{print $2}'|sed -e "s/^+//"}$color
#
#cpu0: ${goto 107}${cpu cpu0}%${goto 137}${cpubar cpu0}$font
#cpu1: ${goto 107}${cpu cpu1}%${goto 137}${cpubar cpu1}$font
#
cpu0:${goto 45}cpu1:${goto 85}cpu2:${goto 125}cpu3:${goto 165}cpu4:
${cpugraph cpu0 20,40 FFFFFF FF0000 scale -t}${cpugraph cpu1 20,40 FFFFFF FF0000 scale -t}${cpugraph cpu2 20,40 FFFFFF FF0000 scale -t}${cpugraph cpu3 20,40 FFFFFF FF0000 scale -t}${cpugraph cpu4 20,40 FFFFFF FF0000 scale -t}$font
#
${goto 15}${top name 1}${font Lucida Handwriting:size=8}${goto 115}${top cpu 1}%${goto 160}${top mem 1}%$font
${goto 15}${top name 2}${font Lucida Handwriting:size=8}${goto 115}${top cpu 2}%${goto 160}${top mem 2}%$font
${goto 15}${top name 3}${font Lucida Handwriting:size=8}${goto 115}${top cpu 3}%${goto 160}${top mem 3}%$font
# uso mem
${font Lucida Handwriting:size=8}${color #0055ff}RAM: ${color #ff2200}$mem$color${goto 107}$memperc%${goto 137}$membar$font
${goto 15}${top_mem name 1}${font Lucida Handwriting:size=8}${goto 115}${top_mem mem 1}%${goto 160}${top_mem cpu 1}%$font
${goto 15}${top_mem name 2}${font Lucida Handwriting:size=8}${goto 115}${top_mem mem 2}%${goto 160}${top_mem cpu 2}%$font
${goto 15}${top_mem name 3}${font Lucida Handwriting:size=8}${goto 115}${top_mem mem 3}%${goto 160}${top_mem cpu 3}%$font
# temperatura disco
${font Lucida Handwriting:size=8}${color #0055ff}HD: ${color #ff2200}${hddtemp /dev/sda}°C$color${font Lucida Handwriting:size=8} ${diskio_read /dev/sda} / ${diskio_write /dev/sda}$font
# spazio occupato root /
${goto 15}ROOT:${goto 50}${font Lucida Handwriting:size=8}${color #00ff00}${fs_free /}$color${goto 107}${fs_free_perc /}%${goto 137}${fs_bar /}$font
# spazio occupato home /home
${goto 15}HOME:${goto 50}${font Lucida Handwriting:size=8}${color #00ff00}${fs_free /home}$color${goto 107}${fs_free_perc /home}%${goto 137}${fs_bar /home}$font
# spazio occupato /media/Dati
${goto 15}DATI:${goto 50}${font Lucida Handwriting:size=8}${color #00ff00}${fs_free /media/Dati}$color${goto 107}${fs_free_perc /media/Dati}%${goto 137}${fs_bar /media/Dati}$font
# spazio occupato swap
#${goto 15}S:${goto 32}${font Lucida Handwriting:size=8}${color #ff2200}$swap$color${goto 107}${swapperc}%${goto 137}$swapbar
# connessioni attive:
#${font Lucida Handwriting:size=8}${color #0055ff}N° CONNESSIONI: ${tcp_portmon 1 65535 count}$font$color
#${goto 15}${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 rservice 0}
#${goto 15}${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 rservice 1}
# informazioni su wlan0
${font Lucida Handwriting:size=8}${color #0055ff}WiFi IP:$color$alignr${addr wlan0}$font
${goto 15}ESSID:$alignr${wireless_essid wlan0}
${goto 15}Quality: ${font Lucida Handwriting:size=8}${wireless_link_qual_perc wlan0}%${goto 107}${wireless_link_bar wlan0}
${goto 15}${font PizzaDude Bullets:size=9}w$font U: ${font Lucida Handwriting:size=8}${upspeedf wlan0}kb/s${goto 117}${font PizzaDude Bullets:size=9}O$font TU: ${font Lucida Handwriting:size=8}${totalup wlan0}
${goto 15}${font PizzaDude Bullets:size=9}s$font D: ${font Lucida Handwriting:size=8}${downspeedf wlan0}kb/s${goto 117}${font PizzaDude Bullets:size=9}U$font TD: ${font Lucida Handwriting:size=8}${totaldown wlan0}$font
# informazioni su eth0
${font Lucida Handwriting:size=8}${color #0055ff}LAN IP:$color$alignr${addr eth0}$font
${goto 15}${font PizzaDude Bullets:size=9}w$font U: ${font Lucida Handwriting:size=8}${upspeedf eth0}kb/s${goto 117}${font PizzaDude Bullets:size=9}O$font TU: ${font Lucida Handwriting:size=8}${totalup eth0}
${goto 15}${font PizzaDude Bullets:size=9}s$font D: ${font Lucida Handwriting:size=8}${downspeedf eth0}kb/s${goto 117}${font PizzaDude Bullets:size=9}U$font TD: ${font Lucida Handwriting:size=8}${totaldown eth0}$font
# informazioni su ppp0
#${font Lucida Handwriting:size=8}${color #0055ff}MODEM IP:$color$alignr${addr ppp0}$font
#${goto 15}${font PizzaDude Bullets:size=9}w$font U: ${font Lucida Handwriting:size=8}${upspeedf ppp0}kb/s${goto 117}${font PizzaDude Bullets:size=9}O$font TU: ${font Lucida Handwriting:size=8}${totalup ppp0}
#${goto 15}${font PizzaDude Bullets:size=9}s$font D: ${font Lucida Handwriting:size=8}${downspeedf ppp0}kb/s${goto 117}${font PizzaDude Bullets:size=9}U$font TD: ${font Lucida Handwriting:size=8}${totaldown ppp0}$font
# informazioni su usb0
${goto 15}${font PizzaDude Bullets:size=9}w$font U: ${font Lucida Handwriting:size=8}${upspeedf usb0}kb/s${goto 117}${font PizzaDude Bullets:size=9}O$font TU: ${font Lucida Handwriting:size=8}${totalup usb0}
${goto 15}${font PizzaDude Bullets:size=9}s$font D: ${font Lucida Handwriting:size=8}${downspeedf usb0}kb/s${goto 117}${font PizzaDude Bullets:size=9}U$font TD: ${font Lucida Handwriting:size=8}${totaldown usb0}$font
#${goto 15}Quality: ${font Lucida Handwriting:size=8}${wireless_link_qual_perc ppp0}%${goto 107}${wireless_link_bar ppp0}
#${font Lucida Handwriting:size=8}${color #0055ff}WAN IP:$color$alignr${texeci 600 sh /home/syco/.conky/extern_ip}${execi 60 cat /home/syco/.conky/file/ip.txt}
[debomatic-armhf]
fqdn = debomatic-armhf.debian.net
incoming = /srv/debomatic-armhf
login = debomatic
method = scp
allow_unsigned_uploads = 0
allow_dcut = 1
scp_compress = 1
[debomatic-amd64]
fqdn = debomatic-amd64.debian.net
incoming = /srv/debomatic-amd64
login = debomatic
method = scp
allow_unsigned_uploads = 0
allow_dcut = 1
scp_compress = 1
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/talkplugin/deb/ stable main
#!/bin/bash
dotfiles=(vimrc
zshrc
pbuilderrc
quiltrc
dput.cf
conkyrc
pastebinit.xml
xchat2/xchat.conf xchat2/servlist_.conf xchat2/notify.conf xchat2/chanserv-mod.py
VirtualBox/VirtualBox.xml
mutt/muttrc mutt/mutt.sh mutt/signature mutt/colors mutt/gpg irssi/config
)
files=(pbuilder/hooks
pbuilder/scripts
)
emptydotdirs=()
emptydirs=(pbuilder/result)
repos=(google-talkplugin.list)
reposdeb=()
packages=(geany
google-talkplugin
filezilla
samba
gimp
inkscape
cheese
chromium-browser
xchat
eatmydata #to use pbuilder quickly
build-essential
debhelper
ubuntu-dev-tools
pbuilder
lintian
gnupg2 gnupg-agent
)
personal () {
echo ""
}
# This function create files, directories and symlinks, as needed
files () {
echo "Creating empty dirs..."
for dir in ${emptydotdirs[@]}; do
if [ ! -a $HOME/.${dir} ] ; then
mkdir -pv $HOME/.${dir}
fi
done
for dir in ${emptydirs[@]}; do
if [ ! -a $HOME/${dir} ] ; then
mkdir -pv $HOME/${dir}
fi
done
echo "Creating symlinks..."
for file in ${dotfiles[@]}; do
# for files
if [ -f $HOME/settings/${file} ] ; then
if [ -a $HOME/.${file} ] ; then
rm $HOME/.${file}
fi
if (echo ${file} | grep -q '/' && [ ! -d $HOME/.$(echo ${file} | cut -f 1 -d '/') ]) ; then
mkdir $HOME/.$(echo ${file} | cut -f 1 -d '/')
fi
ln -s $HOME/settings/${file} $HOME/.${file}
fi
# for directories
if [ -d $HOME/settings/${file} ] ; then
#file=$(echo $file | cut -f 1 -d '/')
if [ -a $HOME/.${file} ] ; then
rm -r $HOME/.{file}
fi
ln -s $HOME/settings/${file} $HOME/.${file}
fi
done
for file in ${files[@]}; do
#for files
if [ -f $HOME/settings/${file} ] ; then
if [ -a $HOME/${file} ] ; then
rm $HOME/${file}
fi
ln -s $HOME/settings/${file} $HOME/${file}
fi
# for directories
if [ -d $HOME/settings/${file} ] ; then
if [ -a $HOME/${file} ] ; then
rm -r $HOME/${file}
fi
ln -s $HOME/settings/${file} $HOME/${file}
fi
done
}
## add repositories, as needed
#add-repo () {
# echo "alpha feature! not tested! it can kill you, your mother and your cat!"
# echo "do you still want to run this script? [y/N]"
# read reply
# if [ ${reply} != 'y' !! ${reply} != 'Y' ]
# then
# echo "you made the better choice, brother!"
# exit 2
# echo "Adding required repositories..."
# for repo in ${repos[@]}; do
# tmp=`grep '^deb' ${repo}|tail -n 1|awk {'print $2'}`
# echo repo: $tmp
# dir="/etc/apt/sources.list.d/*"
# if $( grep -v '${tmp}' ${dir} )
# then
# echo "Adding \"${repo}\" repository"
# sudo cp ${repo} /etc/apt/sources.list.d/
# fi
# done
# for repo in ${reposdeb[@]}; do
# if [ ! $(grep -r ${repo} /etc/apt/sources.list*) ]
# then
# echo "Adding \"${repo}\" repository"
# sudo add-apt-repository --yes ${repo}
# fi
# done
#}
## install the required packages, as needed
install () {
echo "Updating repository information..."
sudo apt-get update
echo "Installing packages..."
package=$(echo ${packages[@]} | tr '\n' ' ')
sudo apt-get install -y ${package}
}
while getopts ":a" opt; do
case $opt in
a)
#ADDREPO=1
echo "The add-repo function is broken. Going on..."
;;
*)
echo "Unrecognised option: -$OPTARG."
echo "Valid options are:"
echo " -a Add repositories"
exit 1
;;
esac
done
files
#if (ADDREPO==1); then add-repo ; fi
install
personal
exit 0
servers = (
{ address = "irc.ubuntu.com"; chatnet = "Ubuntu"; port = "8001"; },
{ address = "eu.irc6.net"; chatnet = "IRCnet"; port = "6667"; },
{ address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
{ address = "irc.efnet.org"; chatnet = "EFNet"; port = "6667"; },
{
address = "irc.undernet.org";
chatnet = "Undernet";
port = "6667";
},
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
{
address = "irc.quakenet.org";
chatnet = "QuakeNet";
port = "6667";
},
{ address = "irc.oftc.net"; chatnet = "OFTC"; port = "6667"; },
{
address = "irc.gamesurge.net";
chatnet = "GameSurge";
port = "6667";
},
{ address = "irc.webchat.org"; chatnet = "WebChat"; port = "6667"; },
{ address = "irc.rizon.net"; chatnet = "Rizon"; port = "6667"; },
{ address = "irc.link-net.org"; chatnet = "LinkNet"; port = "6667"; },
{ address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; }
);
chatnets = {
IRCnet = {
type = "IRC";
max_kicks = "4";
max_msgs = "5";
max_whois = "4";
max_query_chans = "5";
};
EFNet = {
type = "IRC";
max_kicks = "4";
max_msgs = "3";
max_whois = "1";
};
Undernet = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
max_whois = "30";
};
DALnet = {
type = "IRC";
max_kicks = "4";
max_msgs = "3";
max_whois = "30";
};
QuakeNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
max_whois = "30";
};
OFTC = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
max_whois = "30";
};
GameSurge = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
max_whois = "30";
};
WebChat = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
max_whois = "30";
};
Rizon = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
max_whois = "30";
};
LinkNet = {
type = "IRC";
max_kicks = "1";
max_msgs = "3";
max_whois = "30";
};
SILC = { type = "SILC"; };
Ubuntu = { type = "IRC"; };
};
channels = (
{ name = "#irssi"; chatnet = "ircnet"; autojoin = "No"; },
{ name = "silc"; chatnet = "silc"; autojoin = "No"; }
);
aliases = {
J = "join";
WJOIN = "join -window";
WQUERY = "query -window";
LEAVE = "part";
BYE = "quit";
EXIT = "quit";
SIGNOFF = "quit";
DESCRIBE = "action";
DATE = "time";
HOST = "userhost";
LAST = "lastlog";
SAY = "msg *";
WI = "whois";
WII = "whois $0 $0";
WW = "whowas";
W = "who";
N = "names";
M = "msg";
T = "topic";
C = "clear";
CL = "clear";
K = "kick";
KB = "kickban";
KN = "knockout";
BANS = "ban";
B = "ban";
MUB = "unban *";
UB = "unban";
IG = "ignore";
UNIG = "unignore";
SB = "scrollback";
UMODE = "mode $N";
WC = "window close";
WN = "window new hide";
SV = "say Irssi $J ($V) - http://irssi.org/";
GOTO = "sb goto";
CHAT = "dcc chat";
RUN = "SCRIPT LOAD";
CALC = "exec - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
SBAR = "STATUSBAR";
INVITELIST = "mode $C +I";
Q = "QUERY";
"MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save";
EXEMPTLIST = "mode $C +e";
ATAG = "WINDOW SERVER";
UNSET = "set -clear";
RESET = "set -default";
};
statusbar = {
# formats:
# when using {templates}, the template is shown only if it's argument isn't
# empty unless no argument is given. for example {sb} is printed always,
# but {sb $T} is printed only if $T isn't empty.
items = {
# start/end text in statusbars
barstart = "{sbstart}";
barend = "{sbend}";
topicbarstart = "{topicsbstart}";
topicbarend = "{topicsbend}";
# treated "normally", you could change the time/user name to whatever
time = "{sb $Z}";
user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
# treated specially .. window is printed with non-empty windows,
# window_empty is printed with empty windows
window = "{sb $winref:$tag/$itemname{sbmode $M}}";
window_empty = "{sb $winref{sbservertag $tag}}";
prompt = "{prompt $[.15]itemname}";
prompt_empty = "{prompt $winname}";
topic = " $topic";
topic_empty = " Irssi v$J - http://www.irssi.org";
# all of these treated specially, they're only displayed when needed
lag = "{sb Lag: $0-}";
act = "{sb Act: $0-}";
more = "-- more --";
};
# there's two type of statusbars. root statusbars are either at the top
# of the screen or at the bottom of the screen. window statusbars are at
# the top/bottom of each split window in screen.
default = {
# the "default statusbar" to be displayed at the bottom of the window.
# contains all the normal items.
window = {
disabled = "no";
# window, root
type = "window";
# top, bottom
placement = "bottom";
# number
position = "1";
# active, inactive, always
visible = "active";
# list of items in statusbar in the display order
items = {
barstart = { priority = "100"; };
time = { };
user = { };
window = { };
window_empty = { };
lag = { priority = "-1"; };
act = { priority = "10"; };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
# statusbar to use in inactive split windows
window_inact = {
type = "window";
placement = "bottom";
position = "1";
visible = "inactive";
items = {
barstart = { priority = "100"; };
window = { };
window_empty = { };
more = { priority = "-1"; alignment = "right"; };
barend = { priority = "100"; alignment = "right"; };
};
};
# we treat input line as yet another statusbar :) It's possible to
# add other items before or after the input line item.
prompt = {
type = "root";
placement = "bottom";
# we want to be at the bottom always
position = "100";
visible = "always";
items = {
prompt = { priority = "-1"; };
prompt_empty = { priority = "-1"; };
# treated specially, this is the real input line.
input = { priority = "10"; };
};
};
# topicbar
topic = {
type = "root";
placement = "top";
position = "1";
visible = "always";
items = {
topicbarstart = { priority = "100"; };
topic = { };
topic_empty = { };
topicbarend = { priority = "100"; alignment = "right"; };
};
};
};
};
settings = {
core = {
real_name = "Mattia Rizzolo";
user_name = "mattia";
nick = "mattia";
};
"fe-text" = { actlist_sort = "refnum"; };
};
## Theme kindly inspired from
## http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html
## Colours for items in the index
color index brightcyan black ~N
color index brightred black ~O
color index brightyellow black ~F
color index black green ~T
color index brightred black ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D
## Highlights inside the body of a message.
## URLS.
color body brightgreen black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
## Email addresses.
color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
## Header
color header green black "^from:"
color header green black "^to:"
color header green black "^cc:"
color header green black "^date:"
color header yellow black "^newsgroups:"
color header yellow black "^reply-to:"
color header brightcyan black "^subject:"
color header red black "^x-spam-rule:"
color header green black "^x-mailer:"
color header yellow black "^message-id:"
color header yellow black "^Organization:"
color header yellow black "^Organisation:"
color header yellow black "^User-Agent:"
color header yellow black "^message-id: .*pine"
color header yellow black "^X-Fnord:"
color header yellow black "^X-WebTV-Stationery:"
color header red black "^x-spam-rule:"
color header green black "^x-mailer:"
color header yellow black "^message-id:"
color header yellow black "^Organization:"
color header yellow black "^Organisation:"
color header yellow black "^User-Agent:"
color header yellow black "^message-id: .*pine"
color header yellow black "^X-Fnord:"
color header yellow black "^X-WebTV-Stationery:"
color header yellow black "^X-Message-Flag:"
color header yellow black "^X-Spam-Status:"
color header yellow black "^X-SpamProbe:"
color header red black "^X-SpamProbe: SPAM"
## Coloring quoted text - coloring the first 7 levels:
color quoted cyan black
color quoted1 yellow black
color quoted2 red black
color quoted3 green black
color quoted4 cyan black
color quoted5 yellow black
color quoted6 red black
color quoted7 green black
## Default color definitions
#color hdrdefault white green
color signature brightmagenta black
color indicator black cyan
color attachment black green
color error red black
color message white black
color search brightwhite magenta
color status brightyellow blue
color tree brightblue black
color normal white black
color tilde green black
color bold brightyellow black
#color underline magenta black
color markers brightcyan black
## Colour definitions when on a mono screen
mono bold bold
mono underline underline
mono indicator reverse
#reference: http://dev.mutt.org/trac/wiki/MuttGuide/UseGPG
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0xC9C40C31 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
# specify the uid to use when encrypting/signing
set pgp_sign_as=0xB9444540
# this set the number of seconds to keep in memory the passpharse used to encrypt/sign
# the more the less secure it will be
set pgp_timeout=60
# it's a regexp used against the GPG output: if it matches some line of the output
# then mutt considers the message a good signed one (ignoring the GPG exit code)
set pgp_good_sign="^gpg: Good signature from"
# mutt uses by default PGP/GPG to sign/encrypt messages
# if you want to use S-mime instead set the smime_is_default variable to yes
# automatically sign all outgoing messages
set crypt_autosign
set pgp_autosign=yes
# sign only replies to signed messages
set crypt_replysign
# automatically encrypt outgoing messages
set crypt_autoencrypt=no
# encrypt only replies to signed messages
set crypt_replyencrypt=no
# encrypt and sign replies to encrypted messages
set crypt_replysignencrypted=yes
# automatically verify the sign of a message when opened
set crypt_verify_sig=yes
#!/bin/sh
# Reference: http://www.mail-archive.com/mutt-users@mutt.org/msg36375.html
pwds=`gpg --decrypt ~/.mutt/passwd`
eval "$pwds"
exec mutt "$@"
#For reference: https://wiki.archlinux.org/index.php/Mutt
# https://help.ubuntu.com/community/MuttAndGmail
set realname = "Mattia Rizzolo"
set from = mattia@mapreri.org
set use_from = yes
set imap_user = mapreri@gmail.com
set imap_pass = $ACCT1_PASS
set folder = imaps://imap.gmail.com/
set spoolfile = +INBOX
mailboxes = +INBOX
set header_cache = ~/.mutt/cache
set message_cachedir = ~/.mutt/cache
set postponed = +[Gmail]/Drafts
unset imap_passive
set imap_keepalive = 300
set mail_check = 30
unset record
set smtp_url = smtps://$imap_user:$imap_pass@smtp.gmail.com
set edit_headers = yes
set signature = "~/.mutt/signature"
set mailcap_path = ~/.mutt/mailcap
set pager_context = 5
push <show-version>
source ~/.mutt/gpg # gpg settings
source ~/.mutt/colors # for colors settings
## Alias (for address)
set alias_file = "~/.mutt/aliases"
set sort_alias = alias
set reverse_alias = yes
source $alias_file
## Header
# Extra info.
my_hdr X-Info: Keep It Simple, Stupid.
# OS Info.
my_hdr X-Operating-System: `uname -s`, kernel `uname -r`, inside `lsb_release -ds` `lsb_release -cs`.
# This header only appears to MS Outlook users
my_hdr X-Message-Flag: WARNING!! Outlook sucks. A lot.
# Custom Mail-User-Agent ID.
my_hdr User-Agent: Every email client sucks, this one just sucks less.
## Make mutt colored!
## Colours for items in the index
color index brightcyan black ~N
color index brightred black ~O
color index brightyellow black ~F
color index black green ~T
color index brightred black ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D
## Highlights inside the body of a message.
## URLs
color body brightgreen black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
## Email addresses.
color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
## Header
color header green black "^from:"
color header green black "^to:"
color header green black "^cc:"
color header green black "^date:"
color header yellow black "^newsgroups:"
color header yellow black "^reply-to:"
color header brightcyan black "^subject:"
color header red black "^x-spam-rule:"
color header green black "^x-mailer:"
color header yellow black "^message-id:"
color header yellow black "^Organization:"
color header yellow black "^Organisation:"
color header yellow black "^User-Agent:"
color header yellow black "^message-id: .*pine"
color header yellow black "^X-Fnord:"
color header yellow black "^X-WebTV-Stationery:"
color header red black "^x-spam-rule:"
color header green black "^x-mailer:"
color header yellow black "^message-id:"
color header yellow black "^Organization:"
color header yellow black "^Organisation:"
color header yellow black "^User-Agent:"
color header yellow black "^message-id: .*pine"
color header yellow black "^X-Fnord:"
color header yellow black "^X-WebTV-Stationery:"
color header yellow black "^X-Message-Flag:"
color header yellow black "^X-Spam-Status:"
color header yellow black "^X-SpamProbe:"
color header red black "^X-SpamProbe: SPAM"
## Coloring quoted text - coloring the first 7 levels:
color quoted cyan black
color quoted1 yellow black
color quoted2 red black
color quoted3 green black
color quoted4 cyan black
color quoted5 yellow black
color quoted6 red black
color quoted7 green black
## Default color definitions
#color hdrdefault white green
color signature brightmagenta black
color indicator black cyan
color attachment black green
color error red black
color message white black
color search brightwhite magenta
color status brightyellow blue
color tree brightblue black
color normal white black
color tilde green black
color bold brightyellow black
#color underline magenta black
color markers brightcyan black
## Colour definitions when on a mono screen
mono bold bold
mono underline underline
mono indicator reverse
regards,
Mattia Rizzolo
GPG Key: 4096R/B9444540 http://goo.gl/I8TMB
more about me: http://mapreri.org
Launchpad User: https://launchpad.net/~mapreri
Ubuntu Wiki page: https://wiki.ubuntu.com/MattiaRizzolo
<pastebinit>
<pastebin>http://paste.debian.net</pastebin>
<author>mapreri</author>
<format>text</format>
</pastebinit>
#!/bin/sh
# run lintian pedantic after the build
apt-get install -y --force-yes lintian
lintian -Ii --pedantic /tmp/buildd/*.changes
#!/bin/sh
# invoke shell if build fails.
apt-get install -y --force-yes vim less bash
cd /tmp/buildd/*/debian/..
/bin/bash < /dev/tty > /dev/tty 2> /dev/tty
#!/bin/sh
# this forces dpkg not to call sync() after package extraction and leads to 1-2 packages installed per second.
# reference: https://wiki.ubuntu.com/PbuilderHowto#dpkg_setting
echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup
A<digit><digit><whatever-else-you-want> is for --build target. It is executed
before build starts; after unpacking the build system, and unpacking the
source, and satisfying the build-dependency.
B<digit><digit><whatever-else-you-want> is executed after build system finishes
building, successfully, before copying back the build result.
C<digit><digit><whatever-else-you-want> is executed after build failure,
before cleanup.
D<digit><digit><whatever-else-you-want> is executed before unpacking the source
inside the chroot, after setting up the chroot environment. Create
$TMP, and $TMPDIR if necessary. This is called before build-dependency is
satisfied. Also useful for calling apt-get update
E<digit><digit><whatever-else-you-want> is executed after pbuilder --update
and pbuilder --create finishes apt-get work with the chroot, before
umounting kernel file systems (/proc) and creating the tarball from the
chroot.
F<digit><digit><whatever-else-you-want> is executed just before user logs in, or
program starts executing, after chroot is created in --login or --execute
target.
G<digit><digit><whatever-else-you-want> is executed just after debootstrap
finishes, and configuration is loaded, and pbuilder starts mounting
/proc and invoking apt-get install in --create target.
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DIST=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
APTCACHE="$BASE_DIR/cache/apt/$DIST-$ARCH"
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if [ ! -d $APTCACHE ] ; then
mkdir -p $APTCACHE
fi
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DIST-$ARCH-base.tgz \
--distribution $DIST \
--components "main contrib" \
--aptcache $APTCACHE \
--buildresult $BASE_DIR/result/$DIST/$ARCH \
"$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
MIRROR="http://http.debian.net/debian" #for debian
#MIRROR="http://archive.ubuntu.com/ubuntu" #for ubuntu
APTCACHE="$BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH"
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if [ ! -d $APTCACHE ] ; then
mkdir -p $APTCACHE
fi
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main contrib" \
--aptcache $APTCACHE \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH \
--mirror $MIRROR \
--debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg" \
"$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
MIRROR="http://http.debian.net/debian" #for debian
#MIRROR="http://archive.ubuntu.com/ubuntu" #for ubuntu
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main contrib" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH \
--mirror $MIRROR \
--debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg" \
"$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main contrib" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION=$1
DISTRIBUTION=`basename $0 | cut -f2 -d '-'`
PROCEED=false
BASE_DIR="$HOME/pbuilder"
ARCH=`basename $0 | cut -f3 -d '-'`
case $OPERATION in
create|update|build|clean|login|execute )
PROCEED=true
;;
esac
if ( $PROCEED == true ) then
shift
sudo pbuilder $OPERATION \
--architecture $ARCH \
--basetgz $BASE_DIR/$DISTRIBUTION-$ARCH-base.tgz \
--distribution $DISTRIBUTION \
--components "main universe" \
--aptcache $BASE_DIR/cache/apt/$DISTRIBUTION-$ARCH \
--buildresult $BASE_DIR/result/$DISTRIBUTION/$ARCH "$@"
else
echo "Invalid command..."
echo "Valid commands are:"
echo " create"
echo " update"
echo " build"
echo " clean"
echo " login"
echo " execute"
exit 1
fi
HOOKDIR="$HOME/pbuilder/hooks"
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-gdebi"
EXTRAPACKAGES="eatmydata debhelper autoconf autotools-dev man-db fakeroot ccache"
#APTGETOPT="--force-yes"
APTGETOPT="--allow-unauthenticated"
AUTOCLEANAPTCACHE=yes
# Use eatmydata in chroots (will cause chroot creation failure for pre-maverick chroots)
# make sure to install eatmydata outside the chroot
export LD_PRELOAD="${LD_PRELOAD:+$LD_PRELOAD:}/usr/lib/libeatmydata/libeatmydata.so"
# To use with a "tmpfs /var/cache/pbuilder/build tmpfs defaults,size=2400M 0 0"-like fstab entry
APTCACHEHARDLINK=no
#ccache
sudo mkdir -p /var/cache/pbuilder/ccache
sudo chmod a+w /var/cache/pbuilder/ccache
export CCACHE_DIR="/var/cache/pbuilder/ccache"
export PATH="/usr/lib/ccache:${PATH}"
BINDMOUNTS="${CCACHE_DIR}"
QUILT_PATCHES=debian/patches
QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"
QUILT_NO_DIFF_INDEX=1
QUILT_NO_DIFF_TIMESTAMPS=1
QUILT_REFRESH_ARGS="-p ab"
" Enable highlight syntax
syntax on
" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
set background=dark
" Uncomment the following to have Vim jump to the last position when
" reopening a file
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
" Uncomment the following to have Vim load indentation rules and plugins
" according to the detected filetype.
if has("autocmd")
filetype plugin indent on
set autoindent
endif
set shiftwidth=4
set softtabstop=4
" The following are commented out as they cause vim to behave a lot
" differently from regular Vi. They are highly recommended though.
"set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
"set ignorecase " Do case insensitive matching
"set smartcase " Do smart case matching
"set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and :make
"set hidden " Hide buffers when they are abandoned
set mouse=a " Enable mouse usage (all modes)
set nu " row nuber
set ic " do not matching case when searching
set hls " highlight search matching
colorscheme delek
au BufRead /tmp/mutt-* set tw=72
" hightlight triling whitespace
match ErrorMsg '\s\+$'
This diff is collapsed.
DktrKranz
Gwaihir
ic3d
This diff is collapsed.
version = 2.8.8
auto_save = 1
auto_save_url = 0
away_auto_unmark = 0
away_reason =
away_show_message = 0
away_show_once = 1
away_size_max = 300
away_timeout = 60
away_track = 1
completion_amount = 5
completion_auto = 0
completion_sort = 1
completion_suffix = :
completion_cinsens = 0
dcc_auto_chat = 0
dcc_auto_resume = 1
dcc_auto_send = 2
dcc_blocksize = 1024
dcc_completed_dir =
dcc_dir = /home/mattia/.xchat2/downloads
dcc_fast_send = 1
dcc_global_max_get_cps = 0
dcc_global_max_send_cps = 0
dcc_ip =
dcc_ip_from_server = 0
dcc_max_get_cps = 0
dcc_max_send_cps = 0
dcc_permissions = 384
dcc_port_first = 0
dcc_port_last = 0
dcc_remove = 0
dcc_save_nick = 0
dcc_send_fillspaces = 0
dcc_stall_timeout = 60
dcc_timeout = 180
dnsprogram = host
flood_ctcp_num = 5
flood_ctcp_time = 30
flood_msg_num = 5
flood_msg_time = 30
gui_auto_open_chat = 1
gui_auto_open_dialog = 1
gui_auto_open_recv = 1
gui_auto_open_send = 1
gui_dialog_height = 1000
gui_dialog_left = 0
gui_dialog_top = 24
gui_dialog_width = 1280
gui_hide_menu = 0
gui_input_spell = 1
gui_input_style = 0
gui_join_dialog = 0
gui_lagometer = 3
gui_mode_buttons = 1
gui_pane_left_size = 147
gui_pane_right_size = 120
gui_quit_dialog = 0
gui_slist_select = 0
gui_slist_skip = 1
gui_throttlemeter = 3
gui_topicbar = 1
gui_tray = 1
gui_tray_flags = 0
gui_tweaks = 0
gui_ulist_buttons = 0
gui_ulist_doubleclick = QUOTE WHOIS %s %s
gui_ulist_hide = 0
gui_ulist_left = 0
gui_ulist_pos = 3
gui_ulist_resizable = 1
gui_ulist_show_hosts = 0
gui_ulist_sort = 0
gui_ulist_style = 0
gui_url_mod = 4
gui_usermenu = 0
gui_win_height = 744
gui_win_left = 0
gui_win_save = 1
gui_win_state = 1
gui_win_top = 24
gui_win_width = 1366
input_balloon_chans = 0
input_balloon_hilight = 1
input_balloon_priv = 1
input_balloon_time = 20
input_beep_chans = 0
input_beep_hilight = 0
input_beep_msg = 0
input_command_char = /
input_filter_beep = 0
input_flash_chans = 0
input_flash_hilight = 1
input_flash_priv = 1
input_perc_ascii = 0
input_perc_color = 0
input_tray_chans = 0
input_tray_hilight = 1
input_tray_priv = 1
irc_auto_rejoin = 1
irc_ban_type = 2
irc_conf_mode = 0
irc_extra_hilight =
irc_hide_version = 0
irc_id_ntext =
irc_id_ytext =
irc_invisible = 0
irc_join_delay = 3
irc_logging = 1
irc_logmask = %n-%c.log
irc_nick1 = mattia
irc_nick2 = mattia_
irc_nick3 = mattia__
irc_nick_hilight = hallino1, paolettopn, warp10, webbyit
irc_no_hilight = NickServ,ChanServ
irc_part_reason =
irc_quit_reason =
irc_raw_modes = 0
irc_real_name = Mattia Rizzolo
irc_servernotice = 0
irc_skip_motd = 0
irc_user_name = mattia
irc_wallops = 0
irc_who_join = 1
irc_whois_front = 0
net_auto_reconnect = 1
net_auto_reconnectonfail = 0
net_bind_host =
net_ping_timeout = 0
net_proxy_auth = 0
net_proxy_host =
net_proxy_pass =
net_proxy_port = 0
net_proxy_type = 0
net_proxy_use = 0
net_proxy_user =
net_reconnect_delay = 10
net_throttle = 1
notify_timeout = 15
notify_whois_online = 0
perl_warnings = 0
sound_command =
sound_dir = /home/mattia/.xchat2/sounds
stamp_log = 1
stamp_log_format = %b %d %H:%M:%S
stamp_text = 1
stamp_text_format = [%H:%M:%S]
tab_chans = 1
tab_dialogs = 1
tab_layout = 2
tab_new_to_front = 2
tab_notices = 0
tab_pos = 1
tab_position = 2
tab_server = 1
tab_small = 0
tab_sort = 1
tab_trunc = 20
tab_utils = 0
text_background =
text_color_nicks = 1
text_font = Monospace 9
text_indent = 1
text_max_indent = 256
text_max_lines = 1000
text_replay = 1
text_show_marker = 1
text_show_sep = 1
text_stripcolor = 0
text_thin_sep = 1
text_tint_blue = 195
text_tint_green = 195
text_tint_red = 195
text_transparent = 0
text_wordwrap = 1
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment