mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
subl
This commit is contained in:
@@ -17,9 +17,11 @@ link_profile() {
|
||||
fi
|
||||
|
||||
cd $profile_dir
|
||||
OIFS="$IFS"
|
||||
IFS=$'\n'
|
||||
# Find all files to link
|
||||
for file in `find . -type f | cut -c 3- | grep -v "^$"`; do
|
||||
dir=$(dirname "${file}")
|
||||
for file in `find . -type f | cut -c 3- | grep -v "^$"`; do
|
||||
dir=$(dirname "${file}")
|
||||
src=`pwd`/$file
|
||||
dst_dir=$HOME/$dir
|
||||
dst=$HOME/$file
|
||||
@@ -54,4 +56,4 @@ if [ "$1" == "link" ]; then
|
||||
link_profile $1
|
||||
shift
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user