Pinning the Dock to a Corner in Yosemite/El Capitan
In Mavericks and prior, one could use the following commands to pin the dock to either the top or bottom corner of the screen, if the dock was placed left/right, or to the left/right corners if the dock was placed at the bottom, by using the following commands:
defaults write com.apple.dock pinning -string start
or
defaults write com.apple.dock pinning -string end
This is followed by killall Dock
to restart the Dock. Now, in Yosemite, it appears that this option has been removed. Is there no way to get back this functionality in Yosemite?
Update: This is still not possible in El Capitan. Very disappointed in Apple.
Solution 1:
I filed bug #18701500 on this problem with http://bugreporter.apple.com/
My bug was closed by Apple Engineering as a duplicate of bug #16814560, which is still marked as open.
Although Apple does not permit public viewing of the bug database—I cannot see the details on the bug that they have closed it in favor of—and thus you cannot verify my statements, this is proof to me that there is currently no solution to this problem.
Solution 2:
Looks like this isn't possible as shown here. Sorry.