Mercurial > dotfiles
diff install.sh @ 414:72365ec18f54
Merge changes
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 18 Jan 2018 16:27:32 -0800 |
parents | c6da0c9f40ae |
children |
line wrap: on
line diff
--- a/install.sh Thu Jan 18 16:24:47 2018 -0800 +++ b/install.sh Thu Jan 18 16:27:32 2018 -0800 @@ -1,72 +1,5 @@ #!/bin/sh CWD="$( cd "$( dirname "$0" )" && pwd )" - -# BASH -# ---- -ln -s "$CWD/bashrc/bashrc" "$HOME/.bashrc" -ln -s "$CWD/bashrc/bash_profile" "$HOME/.bash_profile" - -# FISH -# ---- -mkdir -p $HOME/.config/fish/ -ln -s "$CWD/fish/config.fish" "$HOME/.config/fish/config.fish" - -# VIM -# --- -echo set runtimepath+=$CWD/vim > "$HOME/.vimrc" -echo source $CWD/vim/vimrc >> "$HOME/.vimrc" - -# MERCURIAL -# --------- -echo %include $CWD/hgrc/hgrc > "$HOME/.hgrc" -echo [ui] >> "$HOME/.hgrc" -echo ignore = $CWD/hgrc/hgignore >> "$HOME/.hgrc" -echo [subrepos] >> "$HOME/.hgrc" -echo git:allowed = true >> "$HOME/.hgrc" -echo [extensions] >> "$HOME/.hgrc" -echo hggit = $CWD/lib/hg/hg-git/hggit/ >> "$HOME/.hgrc" -echo onsub = $CWD/lib/hg/onsub/onsub.py >> "$HOME/.hgrc" -echo allpaths = $CWD/lib/hg/allpaths/mercurial_all_paths.py >> "$HOME/.hgrc" -echo prompt = $CWD/lib/hg/hg-prompt/prompt.py >> "$HOME/.hgrc" -echo changelog = $CWD/lib/hg/changelog/changelog.py >> "$HOME/.hgrc" -echo evolve = $CWD/lib/hg/mutable-history/hgext3rd/evolve >> "$HOME/.hgrc" -echo terse-status = $CWD/lib/hg/terse-status/terse-status.py >> "$HOME/.hgrc" +python $CWD/install.py -# GIT -# --- -ln -s "$CWD/git/gitconfig" "$HOME/.gitconfig" - -# WEB BROWSER -# ----------- -echo set runtimepath=~/.pentadactyl,$CWD/pentadactyl > "$HOME/.pentadactylrc" -echo source "$CWD/pentadactyl/pentadactylrc" >> "$HOME/.pentadactylrc" - -echo set runtimepath=~/.vimperator,$CWD/vimperator > "$HOME/.vimperatorrc" -echo source "$CWD/vimperator/vimperatorrc" >> "$HOME/.vimperatorrc" - -# TMUX -# ---- -ln -s "$CWD/tmux/tmux.conf" "$HOME/.tmux.conf" - -# WEECHAT -# ------ -ln -s "$CWD/weechat" "$HOME/.weechat" - -# MUTT -# ---- - -echo source \"gpg2 -dq $CWD/mutt/variables.gpg \|\" > "$HOME/.muttrc" -echo source "$CWD/mutt/muttrc" >> "$HOME/.muttrc" -echo source "$CWD/mutt/mutt-colors-solarized/mutt-colors-solarized-dark-256.muttrc" >> "$HOME/.muttrc" - - -if [ ! -d $HOME/.local/bin ]; then - mkdir -p $HOME/.local/bin -fi -ln -s "$CWD/lib/hg/fast-hg-prompt/fast-hg-bookmark" "$HOME/.local/bin/fast-hg-bookmark" -ln -s "$CWD/lib/hg/fast-hg-prompt/fast-hg-remote" "$HOME/.local/bin/fast-hg-remote" -ln -s "$CWD/lib/hg/fast-hg-prompt/fast-hg-status" "$HOME/.local/bin/fast-hg-status" -chmod +x "$HOME/.local/bin/fast-hg-bookmark" -chmod +x "$HOME/.local/bin/fast-hg-remote" -chmod +x "$HOME/.local/bin/fast-hg-status"