citadel

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

repl (123B)


      1 #!/usr/bin/env bash
      2 
      3 cmd="$@"
      4 name="$1"
      5 
      6 while true
      7 do
      8 	printf "%s> " "$name"
      9 
     10 	read args
     11 
     12 	$cmd "$args"
     13 done
     14 
     15 printf "\n"