

def composeCdCommand(command, lineObjs):
    filePath = os.path.expanduser(command[0].getDir())
    filePath = os.path.abspath(filePath)
    command = (('echo "' + filePath) + '" > ~/.dircopy')
    return command

dataset/ETHPy150Open facebook/PathPicker/src/output.py composeCdCommand/VarMisuse@20/26 `lineObjs`->`command`