dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit d6bd043dfc104f3d57a28b3dfa8eb705524f7fc8
parent 44816bbbc4bff68bba978cf2507d10766f7aeb23
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sun,  2 Sep 2018 20:28:52 +0200

linkdir bugfixes

Diffstat:
Mdotfiles/bin/linkdir | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dotfiles/bin/linkdir b/dotfiles/bin/linkdir @@ -25,7 +25,7 @@ echo "Linking content of $source_dir to $target_dir..." cr=0 ca=0 -for f in ${source_dir}*; do +for f in "${source_dir}"*; do if [ -L "${target_dir}${f##*/}" ]; then rm "${target_dir}${f##*/}" ((cr++)) @@ -34,11 +34,8 @@ for f in ${source_dir}*; do ln -s "$f" "${target_dir}${f##*/}" echo "'$f' -> '${target_dir}${f##*/}'" ((ca++)) - done -for i in "$source_dir"*; do -done echo "Removed $cr local symlinks with originals in $source_dir." echo "Linked $ca directories into $target_dir." unset cr ca source_dir target_dir