Permalink
Browse files

Refer to ~/.zsh/ and symlink ~/.zprofile

  • Loading branch information...
1 parent 2497261 commit a36c73169733ef6a784c2f13c22ccbdc98ddab49 @barrucadu committed Feb 20, 2013
Showing with 7 additions and 12 deletions.
  1. +5 −6 config/zsh/rc
  2. +2 −6 ln-stuff.sh
View
@@ -1,15 +1,14 @@
## -*- shell-script -*-
-# Additional files - I like splitting things up.
-. ~/projects/home/config/zsh/profile
-. ~/projects/home/config/zsh/functions
-. ~/projects/home/config/zsh/aliases
+
+. ~/.zsh/profile
+. ~/.zsh/functions
+. ~/.zsh/aliases
# Start X
if [[ -z "$DISPLAY" ]] && [[ $(tty) == /dev/tty2 ]] && [[ "`runlevel`" == *5* ]]; then
while true; do
echo "Starting X11"
xinit &>/dev/null
- source ~/projects/home/config/zsh/profile
+ source ~/.zsh/profile
done
fi
-eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
View
@@ -1,7 +1,6 @@
#!/bin/zsh
-CFGFILES=()
-HOMEFILES=(emacs mplayer ncmpcpp stumpwmrc tmux.conf)
+HOMEFILES=(emacs mplayer ncmpcpp tmux.conf zsh)
force=""
if [[ $1 == "-f" ]]; then
@@ -11,10 +10,6 @@ fi
dir=`pwd`
-for file in $CFGFILES; do
- ln -s $force $dir/config/$file $XDG_CONFIG_HOME/$file
-done
-
for file in $HOMEFILES; do
ln -s $force $dir/config/$file $HOME/.$file
done
@@ -26,6 +21,7 @@ done
popd
ln -s $force $dir/config/zsh/rc $HOME/.zshrc
+ln -s $force $dir/config/zsh/profile $HOME/.zprofile
mkdir $HOME/bin
pushd $HOME/bin

0 comments on commit a36c731

Please sign in to comment.