Debian.zsh 292 B

12345678910111213141516171819
  1. # Debian stuff
  2. function cow-dist () {
  3. [ $# -lt 2 ] \
  4. && echo "Error args." \
  5. && return
  6. dist=$1
  7. shift
  8. command=$1
  9. shift
  10. cowbuilder $command --configfile ~/.cowbuilder/$dist $@
  11. return $?
  12. }
  13. alias cow-stable="cow-dist stable"
  14. alias cow-sid="cow-dist sid"