Reduce cd block to single line