Insert the precursor and change directory commands

def getCommandLine(self):
        """Insert the precursor and change directory commands
        """
        commandLine = self.precursor + self.sep if self.precursor else ''
        commandLine += self.cd + ' ' + self.path + self.sep if self.path else ''
        commandLine += PosixCommand.getCommandLine(self)
        return commandLine