The syntax for calling a function is:
(shell-toggle switch-cd)
You can put this in your .emac so that it runs at startup. Here, I assume that you downloaded shell-toggle.el from your download path in .emacs before.
You can download the package by saving shell-toggle.el somewhere and adding it to your .emacs:
(add-to-list 'load-path "/path/to/somewhere") (require 'shell-toggle)
source share