Remove redundant configuration
Don't bind "C-d" when not in eshell mode
Remove unused functions