xterm-color comes from use-package
This commit is contained in:
parent
54968db079
commit
2f214b4d04
1 changed files with 6 additions and 5 deletions
|
|
@ -928,11 +928,12 @@
|
|||
(add-hook 'shell-mode-hook 'my-shell-mode-hook)
|
||||
|
||||
;; xterm-color
|
||||
(require 'xterm-color)
|
||||
(progn (add-hook 'comint-preoutput-filter-functions 'xterm-color-filter)
|
||||
(setq comint-output-filter-functions
|
||||
(remove 'ansi-color-process-output
|
||||
comint-output-filter-functions)))
|
||||
(use-package xterm-color :ensure
|
||||
:config
|
||||
(add-hook 'comint-preoutput-filter-functions 'xterm-color-filter)
|
||||
(setq comint-output-filter-functions
|
||||
(remove 'ansi-color-process-output
|
||||
comint-output-filter-functions)))
|
||||
|
||||
;; ag
|
||||
(global-set-key (kbd "M-p") 'ag-project-regexp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue