       (set-window-start w1 s2)
       (set-window-start w2 s1)))
   (other-window 1))
-(bind-key "C-\\" 'prelude-swap-windows)
+(bind-key "C-\\" #'ar/swap-windows)
 
 ;; From https://github.com/bbatsov/prelude/blob/a52cdc83eeec567b13a8a5719a174dfe294ee739/core/prelude-core.el#L111
-(defun prelude-smart-open-line-above ()
+(defun ar/smart-open-line-above ()
   "Insert an empty line above the current line.
 Position the cursor at it's beginning, according to the current mode."
   (interactive)

(setq help-window-select t)

;; No need to confirm killing buffers.
(global-set-key [(control x) (k)] 'kill-this-buffer)

;; Customize shell-pop.
(setq shell-pop-term-shell "/bin/bash")

;; Hide dired details by default.
(add-hook 'dired-mode-hook 'dired-hide-details-mode)
;; Use RET instead of "a" in dired.
(define-key dired-mode-map (kbd "RET") #'dired-find-alternate-file)

(defun ar/dired-cd-to-parent ()
  "Use ^ in dired to cd to parent."
  (interactive)
  (find-alternate-file ".."))
(define-key dired-mode-map (kbd "^") #'ar/dired-cd-to-parent)

(defun ar/find-all-dired-current-dir ()
  "Invokes `find-dired' for current dir."
