shell: use toggle-truncate-lines-on in README

Fix docs for "Fish shell and ansi-term" and explicitly enable `truncate-lines`.

I was using the suggested hook as well as `(setq-default truncate-lines t)`,
so my fish shell was acting funny because `truncate-lines` was being disabled 
rather than enabled.
This commit is contained in:
Joe Hillenbrand 2017-09-27 14:19:51 -07:00 committed by syl20bnr
parent 037d1367e7
commit 5e63f8ca51
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ Finally you may need to toggle truncated lines for some prompts to work
correctly, in the function =dotspacemacs/user-config= of your dotfile add:
#+BEGIN_SRC emacs-lisp
(add-hook 'term-mode-hook 'toggle-truncate-lines)
(add-hook 'term-mode-hook 'spacemacs/toggle-truncate-lines-on)
#+END_SRC
* Eshell