move line highlight config to global from code config ; add eshell prompt tuning

This commit is contained in:
KemoNine 2023-04-22 16:07:53 -04:00
parent a361f3be74
commit 2189ccc903
2 changed files with 11 additions and 6 deletions

View File

@ -81,12 +81,6 @@
)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; misc config
(set-default 'truncate-lines t)
; highlight current line
(global-hl-line-mode +1)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; activate helm after its fully configured (may be configured beyond global defaults in other profiles so we have to activate locally)
(helm-mode 1)

View File

@ -47,6 +47,16 @@
(unless (was-compiled-p "~/.emacs.d.profiles/common")
(byte-recompile-directory "~/.emacs.d.profiles/common" 0))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; eshell
(setq eshell-prompt-function (lambda () (concat (car (last (split-string (eshell/pwd) "/"))) " $ ")))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; misc config
(set-default 'truncate-lines t)
; highlight current line
(global-hl-line-mode +1)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; fix opening urls inside termux
(when kmn/is-termux
@ -576,3 +586,4 @@ Other buffer group by `centaur-tabs-get-group-name' with project name."
; scratch.el (multi-scratch / melpa)
(global-set-key (kbd "C-c r s") #'scratch) ; C-u C-c s s for mode prompt