Complex sentence: If path is omitted, the path at the top of the directory stack is used, which has the effect of toggling between two directories.
Split into simpler sentences: If path is omitted, the path at the top of the directory stack is used. This has the effect of toggling between two directories.