from xonsh.platform import ON_LINUX if ON_LINUX: aliases["pulsefix"] = "pulseaudio --kill; pulseaudio --start"