diff options
author | Urbain Vaes <urbain@vaes.uk> | 2014-11-06 13:38:25 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2014-11-06 13:38:25 +0000 |
commit | c795f8abb475ddc70255b9b6f93c3aeec3950667 (patch) | |
tree | 5ead7a0ce3397221c4e92d4dc863a78e5954ffa4 | |
parent | f36c1e31da4fb0f46c6b40537ef4b2225df94a43 (diff) |
minor changes
-rwxr-xr-x | make | 19 | ||||
-rw-r--r-- | mutt/colormutt | 2 | ||||
-rw-r--r-- | mutt/muttrc | 2 | ||||
-rw-r--r-- | zshrc | 8 |
4 files changed, 15 insertions, 16 deletions
@@ -4,7 +4,7 @@ dir=~/dotfiles olddir=~/dotfiles_old # Files to sync -files="vim mutt vifm bashrc zshrc xmodmap mynotes tmux.conf zathurarc offlineimaprc inputrc crontab" +files="vim mutt vifm bashrc zshrc xmodmap mynotes tmux.conf zathurarc offlineimaprc inputrc crontab krystle" rm -rf $olddir mkdir -p $olddir @@ -16,22 +16,19 @@ for file in $files; do ln -s $dir/$file ~/.$file done -# Fetchmailrc (protect sensitive information) -# mv ~/.fetchmailrc $olddir -# cp $dir/.fetchmailrc ~ -# vim ~/.fetchmailrc -# read password -# sed -i 's/xx_change_me_xx/'$password'/g' ~/.fetchmailrc - # SSMTP config echo ssmtp.conf sudo mv /etc/ssmtp/ssmtp.conf $olddir sudo ln -s $dir/ssmtp.conf /etc/ssmtp/ -# Permissions +# Solarized cd -sudo chmod 600 ~/.fetchmailrc -sudo chmod 600 $dir/.mailfilter +rm -rf .solarized +mkdir .solarized +cd .solarized +git clone https://github.com/altercation/mutt-colors-solarized +git clone https://github.com/Anthony25/gnome-terminal-colors-solarized/ +git clone https://github.com/seebi/dircolors-solarized sudo rm -rf .vim/bundle mkdir .vim/bundle diff --git a/mutt/colormutt b/mutt/colormutt index a3b64d8..d0e1225 100644 --- a/mutt/colormutt +++ b/mutt/colormutt @@ -9,4 +9,4 @@ else theme=dark fi -echo "/home/urbain/.mutt/mutt-colors-solarized/mutt-colors-solarized-"$theme"-16.muttrc" +echo "/home/urbain/.solarized/mutt-colors-solarized/mutt-colors-solarized-"$theme"-16.muttrc" diff --git a/mutt/muttrc b/mutt/muttrc index 7efdffa..01122af 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -1,5 +1,5 @@ # General information -set from = "urbain.p.vaes@gmail.com" +set from = "u.vaes13@imperial.ac.uk" set realname = "Urbain Vaes" set use_from = yes set envelope_from = "yes" @@ -88,11 +88,13 @@ alias uc='cd ~/Dropbox/phd/programs' alias up='cd ~/Dropbox/phd/presentations' alias ul='cd ~/Dropbox/phd/literature' alias ur='cd ~/Dropbox/phd/reports' +alias c='clear' alias m='mutt' alias a='vifm' alias mn='vim .mynotes' alias x='sh ~/.xmodmap' alias mail='offlineimap' +# alias clear='print "\ec"' # Configuration alias zconf='vim ~/.zshrc' @@ -113,13 +115,13 @@ sleep 2 h=`date +%H` if [ $h -lt 9 ]; then xdotool key Alt+t p Down Return - eval `dircolors ~/dircolors-solarized/dircolors.ansi-dark` + eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-dark` elif [ $h -lt 17 ]; then xdotool key Alt+t p Down Down Return - eval `dircolors ~/dircolors-solarized/dircolors.ansi-light` + eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-light` else xdotool key Alt+t p Down Return - eval `dircolors ~/dircolors-solarized/dircolors.ansi-dark` + eval `dircolors ~/.solarized/dircolors-solarized/dircolors.ansi-dark` fi # Crontab jobs |