dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

nas (191B) [raw]


      1 #!/bin/sh
      2 # nas -- new acme script
      3 DIR=$(dirname "$(readlink -f "$0")")
      4 
      5 if [ -z "$1" ]; then
      6 	echo "usage: nas FILE" 1>&2
      7 	exit 1
      8 fi
      9 
     10 file="$DIR/$1"
     11 
     12 touch "$file"
     13 chmod +x "$file"
     14 B "$file"