   (pyenv-mode +1)
   (advice-add #'pyenv-mode-set :after #'+python|update-version)
   (advice-add #'pyenv-mode-unset :after #'+python|update-version)
-  (add-to-list '+python-mode-line-indicator '(:eval (if (pyenv-mode-version) (concat " pyenv:%s" (pyenv-mode-version)))) 'append))
+  (add-to-list '+python-mode-line-indicator
+               '(:eval (if (pyenv-mode-version) (concat " pyenv:" (pyenv-mode-version))))
+               'append))
 
 
 (def-package! pyvenv


  (add-hook 'conda-postactivate-hook #'+python|update-version)
  (add-hook 'conda-postdeactivate-hook #'+python|update-version)
  (add-to-list '+python-mode-line-indicator '(conda-env-current-name (" conda:" conda-env-current-name)) 'append)

  (advice-add 'anaconda-mode-bootstrap :override #'+python*anaconda-mode-bootstrap-in-remote-environments))

          python-shell-completion-string-code
          "';'.join(get_ipython().Completer.all_completions('''%s'''))\n"))

  ;; Add python/pipenv version string to the major mode in the modeline
  (defun +python|adjust-mode-line ()
    (setq mode-name +python-mode-line-indicator))
  (add-hook 'python-mode-hook #'+python|adjust-mode-line)

  (defun +python|update-version (&rest _)
    (setq +python-version (+python-version)))
  (+python|update-version)
  (add-hook 'python-mode-hook #'+python|update-version))


(def-package! anaconda-mode
