Permalink
Browse files

Makefile

  • Loading branch information...
seanwm committed Sep 7, 2011
1 parent 78fa8f4 commit 66feb1a26282773c46677aad0b86ad12d3584741
Showing with 37 additions and 0 deletions.
  1. +15 −0 Makefile
  2. 0 gitignore
  3. +22 −0 profile
  4. 0 screenrc
View
@@ -0,0 +1,15 @@
+DOTFILES := $(shell pwd)
+all: shell code vim
+shell:
+#ln -fs $(DOTFILES)/inputrc ${HOME}/.inputrc
+ln -fs $(DOTFILES)/screenrc ${HOME}/.screenrc
+#ln -fns $(DOTFILES)/screen ${HOME}/.screen
+ln -fs $(DOTFILES)/profile ${HOME}/.profile
+vim:
+ln -fs $(DOTFILES)/vimrc ${HOME}/.vimrc
+#ln -fs $(DOTFILES)/gvimrc ${HOME}/.gvimrc
+ln -fns $(DOTFILES)/vim ${HOME}/.vim
+code:
+ln -fs $(DOTFILES)/gitignore ${HOME}/.gitignore
+ln -fs $(DOTFILES)/gitconfig ${HOME}/.gitconfig
+
View
No changes.
View
22 profile
@@ -0,0 +1,22 @@
+# ~/.profile: executed by the command interpreter for login shells.
+# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
+# exists.
+# see /usr/share/doc/bash/examples/startup-files for examples.
+# the files are located in the bash-doc package.
+
+# the default umask is set in /etc/profile; for setting the umask
+# for ssh logins, install and configure the libpam-umask package.
+#umask 022
+
+# if running bash
+if [ -n "$BASH_VERSION" ]; then
+ # include .bashrc if it exists
+ if [ -f "$HOME/.bashrc" ]; then
+ . "$HOME/.bashrc"
+ fi
+fi
+
+# set PATH so it includes user's private bin if it exists
+if [ -d "$HOME/bin" ] ; then
+ PATH="$HOME/bin:$PATH"
+fi
View
No changes.

0 comments on commit 66feb1a

Please sign in to comment.