While trying to change the ~/.ghci file to my configurations this error appeared when I opened GHCi.
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
*** WARNING: /home/user is writable by someone else, IGNORING!
WARNING: /home/user/.ghci is owned by someone else, IGNORING!
Check that the owner of the directory is "user"
ls -lah /home
if it is owned by someone else, change the ownership:
sudo chown user:user -R /home/user
Edit: I noticed that root owns ~/.ghci so you must change it using sudo.