config.fish 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  1. # For ranger, htop and other console progs in Qtile ---------------------------
  2. set -e COLUMNS # -e = --erase
  3. set -e LINES
  4. # disable shortening (~/O/Linux) entirely -------------------------------------
  5. set fish_prompt_pwd_dir_length 0
  6. ###############################################################################
  7. # EXPORTs
  8. ###############################################################################
  9. set HOME (echo /home/$USER)
  10. set GHCUP_INSTALL_BASE_PREFIX "$HOME/.config" # for GHCUP
  11. set GOPATH "$HOME/go"
  12. set -U fish_user_paths $HOME/.local/bin $HOME/Programs/AppImageApplications $fish_user_paths
  13. set PATH $PATH $HOME/.cargo/bin $HOME/.config/vifm/scripts $GHCUP_INSTALL_BASE_PREFIX/.ghcup/bin $HOME/Programs/Android_SDK/platform-tools $GOPATH/bin # PATH for exa in cargo and ...
  14. set EDITOR "vim" # vim is either a link to nvim or just vim
  15. set VISUAL "gvim" # gvim is either a link to nvim-qt or just gvim
  16. set TERM "xterm-256color"
  17. set TERMINAL "alacritty"
  18. set BROWSER "brave"
  19. # set MANPAGER "bat man -p" # theme moved to the .config/bat/config
  20. set PAGER "bat"
  21. set MANPAGER "sh -c 'col -bx | bat -l man -p'" # theme moved to the .config/bat/config
  22. set RANGER_LOAD_DEFAULT_RC FALSE # to avoid loading ranger's config twice
  23. set ANDROID_SDK $HOME"/Programs/Android_SDK"
  24. set XDG_CONFIG_HOME "$HOME/.config"
  25. set XDG_DATA_HOME "$HOME/.local/share"
  26. # set XDG_DATA_DIRS "$HOME/.local/share/flatpak/exports/share" "/var/lib/flatpak/exports/share"
  27. set XDG_CACHE_HOME "$HOME/.cache"
  28. # $EDITOR use Vim to edit crontab ---------------------------------------------
  29. # EDITOR="vim" crontab -e
  30. # select-editor (~/.selected-editor)
  31. set __GIT_PROMPT_DIR ~/.bash-git-prompt # Git autocomplition and prompt
  32. ###############################################################################
  33. # AUTOCOMPLETE AND HIGHLIGHT COLORS
  34. ###############################################################################
  35. # set fish_color_normal brcyan
  36. # set fish_color_autosuggestion '#7d7d7d'
  37. # set fish_color_command brcyan
  38. # set fish_color_error '#ff6c6b'
  39. # set fish_color_param brcyan
  40. set_colorscheme_ayu_Mirage
  41. # set_colorscheme_ayu_Dark
  42. ###############################################################################
  43. # FUNCTIONS
  44. ###############################################################################
  45. # SET EITHER DEFAULT EMACS MODE OR VI MODE ------------------------------------
  46. function fish_user_key_bindings
  47. fish_default_key_bindings
  48. # fish_vi_key_bindings
  49. end
  50. function fish_greeting -d "Greeting message on shell session start up"
  51. # Run neofetch
  52. neofetch
  53. end
  54. # Functions needed for !! and !$ ----------------------------------------------
  55. function __history_previous_command
  56. switch (commandline -t)
  57. case "!"
  58. commandline -t $history[1]; commandline -f repaint
  59. case "*"
  60. commandline -i !
  61. end
  62. end
  63. function __history_previous_command_arguments
  64. switch (commandline -t)
  65. case "!"
  66. commandline -t ""
  67. commandline -f history-token-search-backward
  68. case "*"
  69. commandline -i '$'
  70. end
  71. end
  72. # The bindings for !! and !$ --------------------------------------------------
  73. if [ $fish_key_bindings = fish_vi_key_bindings ];
  74. bind -Minsert ! __history_previous_command
  75. bind -Minsert '$' __history_previous_command_arguments
  76. else
  77. bind ! __history_previous_command
  78. bind '$' __history_previous_command_arguments
  79. end
  80. # Function for creating a backup file -----------------------------------------
  81. # ex: backup file.txt
  82. # result: copies file as file.txt.bak
  83. function backup --argument filename
  84. cp $filename $filename.bak
  85. end
  86. # name: bash-git-prompt -------------------------------------------------------
  87. # author: Mariusz Smykuła <mariuszs@gmail.com>
  88. function fish_prompt
  89. # - green lines if the last return command is OK, red otherwise
  90. # - your user name, in red if root or yellow otherwise
  91. # - your hostname, in cyan if ssh or blue otherwise
  92. # - the current path (with prompt_pwd)
  93. # - date +%X
  94. # - the current virtual environment, if any
  95. # - the current git status, if any, with __fish_git_prompt
  96. # - the current battery state, if any, and if your power cable is unplugged, and if you have "acpi"
  97. # - current background jobs, if any
  98. # It goes from:
  99. # ┬─[nim@Hattori:~]─[11:39:00]
  100. # ╰─>$ echo here
  101. # To:
  102. # ┬─[nim@Hattori:~/w/dashboard]─[11:37:14]─[V:django20]─[G:master↑1|●1✚1…1]─[B:85%, 05:41:42 remaining]
  103. # │ 2 15054 0% arrêtée sleep 100000
  104. # │ 1 15048 0% arrêtée sleep 100000
  105. # ╰─>$ echo there
  106. # Colors
  107. # Reset
  108. set ResetColor (set_color normal) # Text Reset
  109. # Regular Colors
  110. set Blue (set_color blue) # Blue
  111. set Green (set_color green) # Green
  112. set Yellow (set_color yellow) # Yellow
  113. set Cyan (set_color cyan)
  114. set Red (set_color red) # Red
  115. set White (set_color white)
  116. # Bold
  117. set BBlue (set_color -o blue)
  118. set BGreen (set_color -o green) # Green
  119. set BYellow (set_color -o yellow) # Yellow
  120. set BCyan (set_color -o brcyan)
  121. set BRed (set_color -o red)
  122. set BWhite (set_color -o white)
  123. set BMagenta (set_color -o magenta) # Purple
  124. set BBlack (set_color -o black) # Black
  125. # # Default values for the appearance of the prompt. Configure at will.
  126. set GIT_PROMPT_PREFIX "("
  127. set GIT_PROMPT_SUFFIX ")"
  128. set GIT_PROMPT_SEPARATOR "|"
  129. set GIT_PROMPT_BRANCH "$BMagenta"
  130. set GIT_PROMPT_STAGED "$Red● "
  131. set GIT_PROMPT_CONFLICTS "$Red✖ "
  132. set GIT_PROMPT_CHANGED "$Blue✚ "
  133. set GIT_PROMPT_REMOTE " "
  134. set GIT_PROMPT_UNTRACKED "…"
  135. set GIT_PROMPT_STASHED "⚑ "
  136. set GIT_PROMPT_CLEAN "$BGreen✔"
  137. set -q __fish_git_prompt_showupstream
  138. or set -g __fish_git_prompt_showupstream auto
  139. function _nim_prompt_wrapper
  140. set retc $argv[1]
  141. set field_name $argv[2]
  142. set field_value $argv[3]
  143. set_color normal
  144. set_color $retc
  145. # echo -n '─'
  146. set_color -o green
  147. echo -n '['
  148. set_color normal
  149. test -n $field_name
  150. and echo -n $field_name:
  151. set_color $retc
  152. echo -n $field_value
  153. set_color -o green
  154. echo -n ']'
  155. end
  156. and set retc green
  157. or set retc red
  158. set_color $retc
  159. echo
  160. # echo -n '┬─'
  161. set_color -o green
  162. echo -n [
  163. if test "$USER" = root -o "$USER" = toor
  164. set_color -o red
  165. else
  166. set_color -o yellow
  167. end
  168. echo -n $USER
  169. set_color -o white
  170. echo -n @
  171. if [ -z "$SSH_CLIENT" ]
  172. set_color -o blue
  173. else
  174. set_color -o cyan
  175. end
  176. echo -n (prompt_hostname):
  177. set_color -o white
  178. echo -n (prompt_pwd)
  179. set_color -o green
  180. echo -n ']'
  181. # Date
  182. # _nim_prompt_wrapper $retc '' (date "+%I:%M %p")
  183. _nim_prompt_wrapper $retc '' (date "+%H:%M")
  184. # Virtual Environment
  185. # set -q VIRTUAL_ENV
  186. # and _nim_prompt_wrapper $retc V (basename "$VIRTUAL_ENV")
  187. # git
  188. set -e __CURRENT_GIT_STATUS
  189. set gitstatus "$__GIT_PROMPT_DIR/gitstatus.py"
  190. # set _GIT_STATUS (python $gitstatus)
  191. set _GIT_STATUS (python3 $gitstatus)
  192. set __CURRENT_GIT_STATUS $_GIT_STATUS
  193. set __CURRENT_GIT_STATUS_PARAM_COUNT (count $__CURRENT_GIT_STATUS)
  194. if not test "0" -eq $__CURRENT_GIT_STATUS_PARAM_COUNT
  195. set GIT_BRANCH $__CURRENT_GIT_STATUS[1]
  196. set GIT_REMOTE "$__CURRENT_GIT_STATUS[2]"
  197. if contains "." "$GIT_REMOTE"
  198. set -e GIT_REMOTE
  199. end
  200. set GIT_STAGED $__CURRENT_GIT_STATUS[3]
  201. set GIT_CONFLICTS $__CURRENT_GIT_STATUS[4]
  202. set GIT_CHANGED $__CURRENT_GIT_STATUS[5]
  203. set GIT_UNTRACKED $__CURRENT_GIT_STATUS[6]
  204. set GIT_STASHED $__CURRENT_GIT_STATUS[7]
  205. set GIT_CLEAN $__CURRENT_GIT_STATUS[8]
  206. end
  207. if test -n "$__CURRENT_GIT_STATUS"
  208. set STATUS "$GIT_PROMPT_BRANCH$GIT_BRANCH$ResetColor"
  209. if set -q GIT_REMOTE
  210. set STATUS "$STATUS$GIT_PROMPT_REMOTE$GIT_REMOTE$ResetColor"
  211. end
  212. set STATUS "$STATUS$GIT_PROMPT_SEPARATOR"
  213. if [ $GIT_STAGED != "0" ]
  214. set STATUS "$STATUS$GIT_PROMPT_STAGED$GIT_STAGED$ResetColor"
  215. end
  216. if [ $GIT_CONFLICTS != "0" ]
  217. set STATUS "$STATUS$GIT_PROMPT_CONFLICTS$GIT_CONFLICTS$ResetColor"
  218. end
  219. if [ $GIT_CHANGED != "0" ]
  220. set STATUS "$STATUS$GIT_PROMPT_CHANGED$GIT_CHANGED$ResetColor"
  221. end
  222. if [ "$GIT_UNTRACKED" != "0" ]
  223. set STATUS "$STATUS$GIT_PROMPT_UNTRACKED$GIT_UNTRACKED$ResetColor"
  224. end
  225. if [ "$GIT_STASHED" != "0" ]
  226. set STATUS "$STATUS$GIT_PROMPT_STASHED$GIT_STASHED$ResetColor"
  227. end
  228. if [ "$GIT_CLEAN" = "1" ]
  229. set STATUS "$STATUS$GIT_PROMPT_CLEAN"
  230. end
  231. set STATUS "$STATUS$ResetColor"
  232. set prompt_git "$STATUS"
  233. else
  234. set prompt_git ""
  235. end
  236. # set prompt_git (__fish_git_prompt | string trim -c ' ()')
  237. test -n "$prompt_git"
  238. and _nim_prompt_wrapper $retc G $prompt_git
  239. # Battery status
  240. type -q acpi
  241. and test (acpi -a 2> /dev/null | string match -r off)
  242. and _nim_prompt_wrapper $retc B (acpi -b | cut -d' ' -f 4-)
  243. # New line
  244. echo
  245. # Background jobs
  246. set_color normal
  247. for job in (jobs)
  248. set_color $retc
  249. # echo -n '│ '
  250. set_color brown
  251. echo $job
  252. end
  253. set_color normal
  254. set_color $retc
  255. # echo -n '╰─>'
  256. if test "$USER" = root -o "$USER" = toor
  257. set_color -o red
  258. # echo -n '# '
  259. echo -n ' >_ '
  260. else
  261. set_color -o yellow
  262. # echo -n '$ '
  263. echo -n ' >_ '
  264. end
  265. set_color normal
  266. end
  267. ###############################################################################
  268. # ALIASES
  269. ###############################################################################
  270. # alias ls='ls --color=auto'
  271. # alias ll='ls -l'
  272. # alias ll='ls -lh'
  273. # alias la='ls -la'
  274. # alias la='ls -lah'
  275. # alias lf='ls -lFh'
  276. alias lse='exa -g --color=always --group-directories-first'
  277. alias lle='lse -l'
  278. alias ls='lsd --group-dirs=first'
  279. alias ll='lsd --blocks=permission,links,user,group,size,date,name --group-dirs=first --date="+%d %b %H:%M"'
  280. alias la='ll -a'
  281. # alias bat='bat --theme gruvbox-dark' # theme moved to the .config/bat/config
  282. alias grep='grep --color=auto'
  283. alias fgrep='fgrep --color=auto'
  284. alias egrep='egrep --color=auto'
  285. alias ifconfig=/sbin/ifconfig
  286. # confirm before overwriting something ----------------------------------------
  287. alias cp="cp -i"
  288. alias mv='mv -i'
  289. alias rm='rm -i'
  290. # switch between shells -------------------------------------------------------
  291. alias tobash="sudo chsh $USER -s /usr/bin/env bash && echo 'Now log out.'"
  292. alias tozsh="sudo chsh $USER -s /usr/bin/env zsh && echo 'Now log out.'"
  293. alias tofish="sudo chsh $USER -s /usr/bin/env fish && echo 'Now log out.'"
  294. # navigation ------------------------------------------------------------------
  295. alias ..='cd ..'
  296. alias ...='cd ../..'
  297. alias .3='cd ../../..'
  298. alias .4='cd ../../../..'
  299. alias .5='cd ../../../../..'
  300. # get top process eating memory -----------------------------------------------
  301. alias psmem='ps auxf | sort -nr -k 4'
  302. alias psmem10='ps auxf | sort -nr -k 4 | head -10'
  303. # get top process eating cpu --------------------------------------------------
  304. alias pscpu='ps auxf | sort -nr -k 3'
  305. alias pscpu10='ps auxf | sort -nr -k 3 | head -10'
  306. # git -------------------------------------------------------------------------
  307. alias config='/usr/bin/git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME'
  308. # run some programs -----------------------------------------------------------
  309. alias v='vim'
  310. alias f='ranger'
  311. alias vf='vifm'
  312. alias emacs="emacsclient -c -a 'emacs'"
  313. ###############################################################################
  314. # Source
  315. ###############################################################################
  316. # asdf manager ----------------------------------------------------------------
  317. # source ~/.asdf/asdf.fish
  318. # opam configuration ----------------------------------------------------------
  319. source /home/alexander/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
  320. # # Icons for lf file manager ---------------------------------------------------
  321. # set LF_ICONS "\
  322. # fi=:\
  323. # di=:\
  324. # ln=:\
  325. # pi=|:\
  326. # so=ﯲ:\
  327. # db=:\
  328. # cd=c:\
  329. # or=:\
  330. # su=:\
  331. # sg=:\
  332. # tw=:\
  333. # ow=w:\
  334. # st=:\
  335. # ex=:\
  336. # *.7z=:\
  337. # *.a=:\
  338. # *.aac=:\
  339. # *.ace=:\
  340. # *.ai=:\
  341. # *.alz=:\
  342. # *.apk=:\
  343. # *.arc=:\
  344. # *.arj=:\
  345. # *.asf=:\
  346. # *.asm=:\
  347. # *.asp=:\
  348. # *.au=:\
  349. # *.aup=:\
  350. # *.avi=:\
  351. # *.avi=:\
  352. # *.awk=:\
  353. # *.bash=:\
  354. # *.bat=:\
  355. # *.bmp=:\
  356. # *.bz2=:\
  357. # *.bz=:\
  358. # *.c++=:\
  359. # *.c=:\
  360. # *.cab=:\
  361. # *.cbr=:\
  362. # *.cbz=:\
  363. # *.cc=:\
  364. # *.cgm=:\
  365. # *.class=:\
  366. # *.clj=:\
  367. # *.cljc=:\
  368. # *.cljs=:\
  369. # *.cmake=:\
  370. # *.cmd=:\
  371. # *.coffee=:\
  372. # *.conf=:\
  373. # *.cp=:\
  374. # *.cpio=:\
  375. # *.cpp=:\
  376. # *.cs=:\
  377. # *.css=:\
  378. # *.cue=:\
  379. # *.csh=:\
  380. # *.cvs=:\
  381. # *.cxx=:\
  382. # *.d=:\
  383. # *.dart=:\
  384. # *.db=:\
  385. # *.deb=:\
  386. # *.diff=:\
  387. # *.dl=:\
  388. # *.dll=:\
  389. # *.doc=:\
  390. # *.docx=:\
  391. # *.dump=:\
  392. # *.dwm=:\
  393. # *.dz=:\
  394. # *.ear=:\
  395. # *.edn=:\
  396. # *.eex=:\
  397. # *.efi=:\
  398. # *.ejs=:\
  399. # *.elf=:\
  400. # *.elm=:\
  401. # *.emf=:\
  402. # *.epub=:\
  403. # *.erl=:\
  404. # *.esd=:\
  405. # *.ex=:\
  406. # *.exe=:\
  407. # *.exs=:\
  408. # *.f#=:\
  409. # *.fifo=|:\
  410. # *.fish=:\
  411. # *.flac=:\
  412. # *.flc=:\
  413. # *.fli=:\
  414. # *.flv=:\
  415. # *.flv=:\
  416. # *.fs=:\
  417. # *.fsi=:\
  418. # *.fsscript=:\
  419. # *.fsx=:\
  420. # *.gem=:\
  421. # *.gif=:\
  422. # *.git=:\
  423. # *.gl=:\
  424. # *.go=:\
  425. # *.gz=:\
  426. # *.gzip=:\
  427. # *.h=:\
  428. # *.hbs=:\
  429. # *.hh=:\
  430. # *.hpp=:\
  431. # *.hrl=:\
  432. # *.hs=:\
  433. # *.htaccess=:\
  434. # *.htm=:\
  435. # *.html=:\
  436. # *.htpasswd=:\
  437. # *.ico=:\
  438. # *.img=:\
  439. # *.ini=:\
  440. # *.iso=:\
  441. # *.jar=:\
  442. # *.java=:\
  443. # *.jl=:\
  444. # *.jpeg=:\
  445. # *.jpg=:\
  446. # *.js=:\
  447. # *.json=:\
  448. # *.jsx=:\
  449. # *.key=:\
  450. # *.ksh=:\
  451. # *.less=:\
  452. # *.lha=:\
  453. # *.lhs=:\
  454. # *.log=:\
  455. # *.lrz=:\
  456. # *.lua=:\
  457. # *.lz4=:\
  458. # *.lz=:\
  459. # *.lzh=:\
  460. # *.lzma=:\
  461. # *.lzo=:\
  462. # *.m2v=:\
  463. # *.m4a=:\
  464. # *.m4v=:\
  465. # *.markdown=:\
  466. # *.md=:\
  467. # *.mid=:\
  468. # *.midi=:\
  469. # *.mjpeg=:\
  470. # *.mjpg=:\
  471. # *.mka=:\
  472. # *.mkv=:\
  473. # *.ml=λ:\
  474. # *.mli=λ:\
  475. # *.mng=:\
  476. # *.mov=:\
  477. # *.mp3=:\
  478. # *.mp4=:\
  479. # *.mp4v=:\
  480. # *.mpc=:\
  481. # *.mpeg=:\
  482. # *.mpg=:\
  483. # *.msi=:\
  484. # *.mustache=:\
  485. # *.nix=:\
  486. # *.nuv=:\
  487. # *.o=:\
  488. # *.oga=:\
  489. # *.ogg=:\
  490. # *.ogm=:\
  491. # *.ogv=:\
  492. # *.ogx=:\
  493. # *.opus=:\
  494. # *.pbm=:\
  495. # *.pcx=:\
  496. # *.pdf=:\
  497. # *.pgm=:\
  498. # *.php=:\
  499. # *.pl=:\
  500. # *.pm=:\
  501. # *.png=:\
  502. # *.ppk=:\
  503. # *.ppm=:\
  504. # *.ppt=:\
  505. # *.pptx=:\
  506. # *.pro=:\
  507. # *.ps1=:\
  508. # *.psb=:\
  509. # *.psd=:\
  510. # *.pub=:\
  511. # *.py=:\
  512. # *.pyc=:\
  513. # *.pyd=:\
  514. # *.pyo=:\
  515. # *.qt=:\
  516. # *.ra=:\
  517. # *.rar=:\
  518. # *.rb=:\
  519. # *.rc=:\
  520. # *.rlib=:\
  521. # *.rm=:\
  522. # *.rmvb=:\
  523. # *.rom=:\
  524. # *.rpm=:\
  525. # *.rs=:\
  526. # *.rss=:\
  527. # *.rtf=:\
  528. # *.rz=:\
  529. # *.s=:\
  530. # *.sar=:\
  531. # *.scala=:\
  532. # *.scss=:\
  533. # *.sh=:\
  534. # *.slim=:\
  535. # *.sln=:\
  536. # *.so=:\
  537. # *.spx=:\
  538. # *.sql=:\
  539. # *.styl=:\
  540. # *.suo=:\
  541. # *.svg=:\
  542. # *.svgz=:\
  543. # *.swm=:\
  544. # *.t7z=:\
  545. # *.t=:\
  546. # *.tar=:\
  547. # *.taz=:\
  548. # *.tbz2=:\
  549. # *.tbz=:\
  550. # *.tga=:\
  551. # *.tgz=:\
  552. # *.tif=:\
  553. # *.tiff=:\
  554. # *.tlz=:\
  555. # *.ts=:\
  556. # *.twig=:\
  557. # *.txz=:\
  558. # *.tz=:\
  559. # *.tzo=:\
  560. # *.tzst=:\
  561. # *.vim=:\
  562. # *.vimrc=:\
  563. # *.vob=:\
  564. # *.war=:\
  565. # *.wav=:\
  566. # *.wav=:\
  567. # *.webm=:\
  568. # *.wim=:\
  569. # *.wmv=:\
  570. # *.xbm=:\
  571. # *.xbps=:\
  572. # *.xcf=:\
  573. # *.xhtml=:\
  574. # *.xls=:\
  575. # *.xlsx=:\
  576. # *.xml=:\
  577. # *.xpm=:\
  578. # *.xspf=:\
  579. # *.xul=:\
  580. # *.xwd=:\
  581. # *.xz=:\
  582. # *.yaml=:\
  583. # *.yml=:\
  584. # *.yuv=:\
  585. # *.z=:\
  586. # *.zip=:\
  587. # *.zoo=:\
  588. # *.zsh=:\
  589. # *.zst=:\
  590. # *.src=:\
  591. # *.ebuild=:\
  592. # "
  593. #
  594. # # set LF_ICONS "\
  595. # # tw=:\
  596. # # st=:\
  597. # # ow=:\
  598. # # dt=:\
  599. # # di=:\
  600. # # fi=:\
  601. # # ln=:\
  602. # # or=:\
  603. # # *.7z=:\
  604. # # *.a=:\
  605. # # *.ai=:\
  606. # # *.apk=:\
  607. # # *.asm=:\
  608. # # *.asp=:\
  609. # # *.aup=:\
  610. # # *.avi=:\
  611. # # *.awk=:\
  612. # # *.bash=:\
  613. # # *.bat=:\
  614. # # *.bmp=:\
  615. # # *.bz2=:\
  616. # # *.c=:\
  617. # # *.c++=:\
  618. # # *.cab=:\
  619. # # *.cbr=:\
  620. # # *.cbz=:\
  621. # # *.cc=:\
  622. # # *.class=:\
  623. # # *.clj=:\
  624. # # *.cljc=:\
  625. # # *.cljs=:\
  626. # # *.cmake=:\
  627. # # *.coffee=:\
  628. # # *.conf=:\
  629. # # *.cp=:\
  630. # # *.cpio=:\
  631. # # *.cpp=:\
  632. # # *.cs=:\
  633. # # *.csh=:\
  634. # # *.css=:\
  635. # # *.cue=:\
  636. # # *.cvs=:\
  637. # # *.cxx=:\
  638. # # *.d=:\
  639. # # *.dart=:\
  640. # # *.db=:\
  641. # # *.deb=:\
  642. # # *.diff=:\
  643. # # *.dll=:\
  644. # # *.doc=:\
  645. # # *.docx=:\
  646. # # *.dump=:\
  647. # # *.edn=:\
  648. # # *.eex=:\
  649. # # *.efi=:\
  650. # # *.ejs=:\
  651. # # *.elf=:\
  652. # # *.elm=:\
  653. # # *.epub=:\
  654. # # *.erl=:\
  655. # # *.ex=:\
  656. # # *.exe=:\
  657. # # *.exs=:\
  658. # # *.f#=:\
  659. # # *.fifo=|
  660. # # *.fish=:\
  661. # # *.flac=:\
  662. # # *.flv=:\
  663. # # *.fs=:\
  664. # # *.fsi=:\
  665. # # *.fsscript=:\
  666. # # *.fsx=:\
  667. # # *.gem=:\
  668. # # *.gemspec=:\
  669. # # *.gif=:\
  670. # # .git=:\
  671. # # *.go=:\
  672. # # *.gz=:\
  673. # # *.gzip=:\
  674. # # *.h=:\
  675. # # *.haml=:\
  676. # # *.hbs=:\
  677. # # *.hh=:\
  678. # # *.hpp=:\
  679. # # *.hrl=:\
  680. # # *.hs=:\
  681. # # *.htaccess=:\
  682. # # *.htm=:\
  683. # # *.html=:\
  684. # # *.htpasswd=:\
  685. # # *.hxx=:\
  686. # # *.ico=:\
  687. # # *.img=:\
  688. # # *.ini=:\
  689. # # *.iso=:\
  690. # # *.jar=:\
  691. # # *.java=:\
  692. # # *.jl=:\
  693. # # *.jpeg=:\
  694. # # *.jpg=:\
  695. # # *.js=:\
  696. # # *.json=:\
  697. # # *.jsx=:\
  698. # # *.key=:\
  699. # # *.ksh=:\
  700. # # *.leex=:\
  701. # # *.less=:\
  702. # # *.lha=:\
  703. # # *.lhs=:\
  704. # # *.log=:\
  705. # # *.lua=:\
  706. # # *.lzh=:\
  707. # # *.lzma=:\
  708. # # *.m4a=:\
  709. # # *.m4v=:\
  710. # # *.markdown=:\
  711. # # *.md=:\
  712. # # *.mdx=:\
  713. # # *.mjs=:\
  714. # # *.mkv=:\
  715. # # *.ml=λ:\
  716. # # *.mli=λ:\
  717. # # *.mov=:\
  718. # # *.mp3=:\
  719. # # *.mp4=:\
  720. # # *.mpeg=:\
  721. # # *.mpg=:\
  722. # # *.msi=:\
  723. # # *.mustache=:\
  724. # # *.nix=:\
  725. # # *.o=:\
  726. # # *.ogg=:\
  727. # # *.pdf=:\
  728. # # *.php=:\
  729. # # *.pl=:\
  730. # # *.pm=:\
  731. # # *.png=:\
  732. # # *.pp=:\
  733. # # *.ppt=:\
  734. # # *.pptx=:\
  735. # # *.ps1=:\
  736. # # *.psb=:\
  737. # # *.psd=:\
  738. # # *.pub=:\
  739. # # *.py=:\
  740. # # *.pyc=:\
  741. # # *.pyd=:\
  742. # # *.pyo=:\
  743. # # *.r=ﳒ:\
  744. # # *.rake=:\
  745. # # *.rar=:\
  746. # # *.rb=:\
  747. # # *.rc=:\
  748. # # *.rlib=:\
  749. # # *.rmd=:\
  750. # # *.rom=:\
  751. # # *.rpm=:\
  752. # # *.rproj=鉶:\
  753. # # *.rs=:\
  754. # # *.rss=:\
  755. # # *.rtf=:\
  756. # # *.s=:\
  757. # # *.sass=:\
  758. # # *.scala=:\
  759. # # *.scss=:\
  760. # # *.sh=:\
  761. # # *.slim=:\
  762. # # *.sln=:\
  763. # # *.so=:\
  764. # # *.sql=:\
  765. # # *.styl=:\
  766. # # *.suo=:\
  767. # # *.swift=:\
  768. # # *.t=:\
  769. # # *.tar=:\
  770. # # *.tex=ﭨ:\
  771. # # *.tgz=:\
  772. # # *.toml=:\
  773. # # *.ts=:\
  774. # # *.tsx=:\
  775. # # *.twig=:\
  776. # # *.vim=:\
  777. # # *.vimrc=:\
  778. # # *.vue=﵂:\
  779. # # *.wav=:\
  780. # # *.webm=:\
  781. # # *.webmanifest=:\
  782. # # *.webp=:\
  783. # # *.xbps=:\
  784. # # *.xcplayground=:\
  785. # # *.xhtml=:\
  786. # # *.xls=:\
  787. # # *.xlsx=:\
  788. # # *.xml=:\
  789. # # *.xul=:\
  790. # # *.xz=:\
  791. # # *.yaml=:\
  792. # # *.yml=:\
  793. # # *.zip=:\
  794. # # *.zsh=:\
  795. # # "