func Clear() {
	c := exec.Command("clear")
	Sync(c)
	c.Run()
}
Clear clears the screen
package command
import (
	"log"
	"os"
	"os/exec"
	"syscall"
	"github.com/maaslalani/crow/config"
)
func Run(cmd []string) *exec.Cmd {
	if config.Clear {
		Clear()
	}
	c := exec.Command(cmd[0], cmd[1:]...)
	Sync(c)
	c.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
	err := c.Start()
	if err != nil {
		log.Fatal(err)
	}
	return c
}