Preparing placing home-directory in repo
This commit is contained in:
parent
af0eeb3f52
commit
0b0e95e88c
77 changed files with 20 additions and 112 deletions
0
emacs.d/.gitignore → .emacs.d/.gitignore
vendored
0
emacs.d/.gitignore → .emacs.d/.gitignore
vendored
40
.gitmodules
vendored
40
.gitmodules
vendored
|
@ -1,33 +1,33 @@
|
|||
[submodule "config/awesome/vicious"]
|
||||
path = config/awesome/vicious
|
||||
url = http://git.sysphere.org/vicious/
|
||||
[submodule "zsh/syntax-highlighting"]
|
||||
path = zsh/syntax-highlighting
|
||||
[submodule ".zsh/syntax-highlighting"]
|
||||
path = .zsh/syntax-highlighting
|
||||
url = git://github.com/zsh-users/zsh-syntax-highlighting
|
||||
[submodule "emacs.d/naquadah-theme"]
|
||||
path = emacs.d/naquadah-theme
|
||||
[submodule ".emacs.d/naquadah-theme"]
|
||||
path = .emacs.d/naquadah-theme
|
||||
url = git://git.naquadah.org/naquadah-theme.git
|
||||
[submodule "emacs.d/auto-complete-clang"]
|
||||
path = emacs.d/auto-complete-clang
|
||||
[submodule ".emacs.d/auto-complete-clang"]
|
||||
path = .emacs.d/auto-complete-clang
|
||||
url = git://github.com/brianjcj/auto-complete-clang.git
|
||||
[submodule "emacs.d/elisp/markdown-mode"]
|
||||
path = emacs.d/elisp/markdown-mode
|
||||
[submodule ".emacs.d/elisp/markdown-mode"]
|
||||
path = .emacs.d/elisp/markdown-mode
|
||||
url = git://jblevins.org/git/markdown-mode.git
|
||||
[submodule "emacs.d/elisp/git-commit-mode"]
|
||||
path = emacs.d/elisp/git-commit-mode
|
||||
[submodule ".emacs.d/elisp/git-commit-mode"]
|
||||
path = .emacs.d/elisp/git-commit-mode
|
||||
url = git://github.com/rafl/git-commit-mode.git
|
||||
[submodule "emacs.d/elisp/lua-mode"]
|
||||
path = emacs.d/elisp/lua-mode
|
||||
[submodule ".emacs.d/elisp/lua-mode"]
|
||||
path = .emacs.d/elisp/lua-mode
|
||||
url = https://github.com/immerrr/lua-mode.git
|
||||
[submodule "emacs.d/elisp/pi-php-mode"]
|
||||
path = emacs.d/elisp/pi-php-mode
|
||||
[submodule ".emacs.d/elisp/pi-php-mode"]
|
||||
path = .emacs.d/elisp/pi-php-mode
|
||||
url = git://piprime.fr/emacs/pi-php-mode.git
|
||||
[submodule "emacs.d/elisp/rainbow-delimiters"]
|
||||
path = emacs.d/elisp/rainbow-delimiters
|
||||
[submodule ".emacs.d/elisp/rainbow-delimiters"]
|
||||
path = .emacs.d/elisp/rainbow-delimiters
|
||||
url = git://github.com/jlr/rainbow-delimiters.git
|
||||
[submodule "emacs.d/elisp/rainbow"]
|
||||
path = emacs.d/elisp/rainbow
|
||||
[submodule ".emacs.d/elisp/rainbow"]
|
||||
path = .emacs.d/elisp/rainbow
|
||||
url = git://git.naquadah.org/rainbow.git
|
||||
[submodule "emacs.d/elisp/zencoding"]
|
||||
path = emacs.d/elisp/zencoding
|
||||
[submodule ".emacs.d/elisp/zencoding"]
|
||||
path = .emacs.d/elisp/zencoding
|
||||
url = git://github.com/rooney/zencoding.git
|
||||
|
|
0
mutt/.gitignore → .mutt/.gitignore
vendored
0
mutt/.gitignore → .mutt/.gitignore
vendored
0
vim/.gitignore → .vim/.gitignore
vendored
0
vim/.gitignore → .vim/.gitignore
vendored
0
zsh/.gitignore → .zsh/.gitignore
vendored
0
zsh/.gitignore → .zsh/.gitignore
vendored
|
@ -1,7 +0,0 @@
|
|||
@echo off
|
||||
REM An install script for windows
|
||||
|
||||
echo "Copying .emacs to %APPDATA%\\"
|
||||
copy /Y .emacs %APPDATA%\
|
||||
echo "Copying .emacs.d to %APPDATA%\\"
|
||||
copy /Y .emacs.d %APPDATA%\.emacs.d\
|
85
install.sh
85
install.sh
|
@ -1,85 +0,0 @@
|
|||
#!/bin/bash
|
||||
INSTALL_BASEFILE=`readlink -f $0`
|
||||
if [ -z $INSTALL_BASEFILE ]; then
|
||||
INSTALL_BASEFILE="$PWD/$0"
|
||||
fi
|
||||
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
|
||||
|
||||
CMD="ln -sfn"
|
||||
|
||||
function linkmy
|
||||
{
|
||||
install_file=$INSTALL_BASEDIR/$1
|
||||
home_file=$HOME/$2
|
||||
|
||||
if [ -f $install_file ]
|
||||
then
|
||||
if [ ! -f $home_file ]
|
||||
then
|
||||
echo "Linking $install_file to $home_file"
|
||||
$CMD $install_file $home_file
|
||||
else
|
||||
echo "$home_file already exists."
|
||||
fi
|
||||
elif [ -d $install_file ]
|
||||
then
|
||||
if [ ! -d $home_file ]
|
||||
then
|
||||
echo "Linking $install_file/ to $home_file/"
|
||||
$CMD $install_file $home_file
|
||||
else
|
||||
echo "$home_file already exists."
|
||||
fi
|
||||
else
|
||||
echo "Couldn't find $install_file"
|
||||
fi
|
||||
}
|
||||
|
||||
function copymy
|
||||
{
|
||||
echo "Copying $INSTALL_BASEDIR/$1 to $HOME/$2"
|
||||
cp $INSTALL_BASEDIR/$1 $HOME/$2
|
||||
}
|
||||
|
||||
# CONKEROR
|
||||
linkmy conkerorrc .conkerorrc
|
||||
linkmy conkeror .conkeror
|
||||
# CONKY
|
||||
linkmy conkyrc .conkyrc
|
||||
copymy conky_box.lua .conky_box.lua
|
||||
# EMACS
|
||||
emacs --batch -l emacs.d/init.el --eval "(byte-compile-file \"emacs.d/init.el\")" || return 1
|
||||
linkmy emacs.d .emacs.d
|
||||
# FONTS
|
||||
linkmy fonts.conf .fonts.conf
|
||||
# GIT
|
||||
linkmy gitconfig .gitconfig
|
||||
linkmy git.d .git.d
|
||||
# IRSSI
|
||||
linkmy irssi .irssi
|
||||
# MUTT
|
||||
linkmy muttrc .muttrc
|
||||
linkmy mutt .mutt
|
||||
# NCMPCPP
|
||||
linkmy ncmpcpp .ncmpcpp
|
||||
# NEWSBEUTER
|
||||
linkmy newsbeuter .newsbeuter
|
||||
# OFFLINEIMAP
|
||||
linkmy offlineimaprc .offlineimaprc
|
||||
linkmy offlineimap.py .offlineimap.py
|
||||
# STUMPWM
|
||||
linkmy stumpwmrc .stumpwmrc
|
||||
# VIM
|
||||
linkmy vimrc .vimrc
|
||||
linkmy vim .vim
|
||||
# XDEFAULTS
|
||||
linkmy Xdefaults .Xdefaults
|
||||
# XINITRC
|
||||
linkmy xinitrc .xinitrc
|
||||
linkmy getrootname.sh .getrootname
|
||||
# XMODMAP
|
||||
linkmy Xmodmap .Xmodmap
|
||||
# ZSH
|
||||
linkmy zshrc .zshrc
|
||||
linkmy zsh .zsh
|
||||
linkmy zshenv .zshenv
|
Loading…
Reference in a new issue