summaryrefslogtreecommitdiff
path: root/xmc
blob: 596750b11a33434ef8817fbebfce86f52f7a7c8e (plain)
  1. #!/bin/bash
  2. if [ $# -eq 0 ]; then
  3. xsh - mc
  4. else
  5. if [ $# -eq 1 -a "x$1" = "xsu" ]; then
  6. # xsh - mc su
  7. exec xsh - mc su
  8. else
  9. # xsh $@ mc
  10. exec xsh $@ mc
  11. fi
  12. fi