Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Update elisp
Browse files Browse the repository at this point in the history
Signed-off-by: Youhei SASAKI <[email protected]>
  • Loading branch information
uwabami committed Sep 22, 2023
1 parent 97ad9a1 commit be5ba20
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions all-the-icons-in-terminal.el
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
;;

;; override icons alist
(defvar all-the-icons-extension-icon-alist
(defvar all-the-icons-in-terminal-extension-icon-alist
'(
("fish" all-the-icons-alltheicon "terminal" :face all-the-icons-lpink)
("zsh" all-the-icons-alltheicon "terminal" :face all-the-icons-lcyan)
Expand Down Expand Up @@ -355,7 +355,10 @@
("gpg" all-the-icons-octicon "key" :face all-the-icons-lblue)
("cache" all-the-icons-octicon "database" :face all-the-icons-green)))

(defvar all-the-icons-regexp-icon-alist
(setq all-the-icons-extension-icon-alist
all-the-icons-in-terminal-extension-icon-alist)

(defvar all-the-icons-in-terminal-regexp-icon-alist
'(
;;
("^TAGS$" all-the-icons-octicon "tag" :face all-the-icons-blue)
Expand Down Expand Up @@ -434,11 +437,16 @@

("^\\." all-the-icons-octicon "gear")
))
(setq all-the-icons-regexp-icon-alist
all-the-icons-in-terminal-regexp-icon-alist)

(defvar all-the-icons-default-file-icon
(defvar all-the-icons-in-terminal-default-file-icon
'(all-the-icons-faicon "file-o" :face all-the-icons-dsilver))

(defvar all-the-icons-dir-icon-alist
(setq all-the-icons-default-file-icon
all-the-icons-in-terminal-default-file-icon)

(defvar all-the-icons-in-terminal-dir-icon-alist
'(
("trash" all-the-icons-faicon "trash-o")
("dropbox" all-the-icons-faicon "dropbox")
Expand All @@ -458,7 +466,10 @@
(".?" all-the-icons-octicon "file-directory")
))

(defvar all-the-icons-weather-icon-alist
(setq all-the-icons-dir-icon-alist
all-the-icons-in-terminal-dir-icon-alist)

(defvar all-the-icons-in-terminal-weather-icon-alist
'(
("tornado" all-the-icons-wicon "tornado")
("hurricane" all-the-icons-wicon "hurricane")
Expand Down Expand Up @@ -492,7 +503,10 @@
("not.*available" all-the-icons-wicon "na")
))

(defvar all-the-icons-mode-icon-alist
(setq all-the-icons-weather-icon-alist
all-the-icons-in-terminal-weather-icon-alist)

(defvar all-the-icons-in-terminal-mode-icon-alist
'(
(emacs-lisp-mode all-the-icons-fileicon "elisp" :face all-the-icons-purple)
(circe-server-mode all-the-icons-faicon "commenting-o")
Expand Down Expand Up @@ -686,7 +700,8 @@
(magik-cb-mode all-the-icons-faicon "book" :face all-the-icons-blue)
(meson-mode all-the-icons-fileicon "meson" :face all-the-icons-purple)
(man-common all-the-icons-fileicon "man-page" :face all-the-icons-blue)))

(setq all-the-icons-mode-icon-alist
all-the-icons-in-terminal-mode-icon-alist)

(provide 'all-the-icons-in-terminal)
;;; all-the-icons-in-terminal.el ends here

0 comments on commit be5ba20

Please sign in to comment.