Skip to content

Commit ab804a4

Browse files
committed
Update README, add create_home_symlinks.sh
1 parent e21cb75 commit ab804a4

File tree

3 files changed

+32
-2
lines changed

3 files changed

+32
-2
lines changed

README

-2
This file was deleted.

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# dubek's dotfiles
2+
3+
Clone this repo to the ~/dotfiles directory, and then run
4+
`create_home_symlinks.sh`.

create_home_symlinks.sh

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/bash
2+
3+
bindir=$(dirname $0)
4+
cd $bindir
5+
fulldir=$PWD
6+
7+
files="editrc gemrc gitconfig gitignore irbrc rvmrc tmux.conf vimrc"
8+
for f in $files ; do
9+
ln -v -s $fulldir/$f ~/.$f
10+
done
11+
12+
if [ ! -d ~/.vim/bundle/Vundle.vim ] ; then
13+
mkdir -p ~/.vim/bundle
14+
cd ~/.vim/bundle
15+
git clone https://github.com/VundleVim/Vundle.vim.git
16+
vim +PluginInstall +qall
17+
fi
18+
19+
cat <<'EOF'
20+
TODO: Add this line to the end of ~/.bashrc:
21+
22+
. $HOME/dotfiles/bash/config
23+
24+
TODO: Add this line to the end of ~/.profile:
25+
26+
. $HOME/dotfiles/bash/profile.sh
27+
28+
EOF

0 commit comments

Comments
 (0)