citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

skel (280B)


      1 #!/usr/bin/env bash
      2 SKELETON_CLOSET=${SKELETON_CLOSET:-$HOME/dotfiles/skeletons}
      3 if [ -z "$1" ]; then
      4 	printf "usage: skel <skeleton>\n\n"
      5 	printf "skeletons\n\n"
      6 	ls -1 $SKELETON_CLOSET | sed 's,^,    ,'
      7 	printf "\n"
      8 	exit 0
      9 fi
     10 exec cp -vr --no-clobber "$SKELETON_CLOSET/$1"/. .