.zhrc

extract 解压
z 快速跳转目录
d enter 查看历史目录并通过数字跳转
…. 连续多级目录回跳
take 创建并跳转到目录

  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3. export PATH
  4. # Path to your oh-my-zsh installation.
  5. export ZSH=$HOME/.oh-my-zsh
  6. # Set name of the theme to load --- if set to "random", it will
  7. # load a random theme each time oh-my-zsh is loaded, in which case,
  8. # to know which specific one was loaded, run: echo $RANDOM_THEME
  9. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  10. #ZSH_THEME="robbyrussell"
  11. #ZSH_THEME="agnoster"
  12. ZSH_THEME="blinks"
  13. eval `dircolors $HOME/.dir_colors`
  14. # Set list of themes to pick from when loading at random
  15. # Setting this variable when ZSH_THEME=random will cause zsh to load
  16. # a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
  17. # If set to an empty array, this variable will have no effect.
  18. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  19. # Uncomment the following line to use case-sensitive completion.
  20. # CASE_SENSITIVE="true"
  21. # Uncomment the following line to use hyphen-insensitive completion.
  22. # Case-sensitive completion must be off. _ and - will be interchangeable.
  23. # HYPHEN_INSENSITIVE="true"
  24. # Uncomment the following line to disable bi-weekly auto-update checks.
  25. # DISABLE_AUTO_UPDATE="true"
  26. # Uncomment the following line to change how often to auto-update (in days).
  27. # export UPDATE_ZSH_DAYS=13
  28. # Uncomment the following line to disable colors in ls.
  29. # DISABLE_LS_COLORS="true"
  30. # Uncomment the following line to disable auto-setting terminal title.
  31. # DISABLE_AUTO_TITLE="true"
  32. # Uncomment the following line to enable command auto-correction.
  33. # ENABLE_CORRECTION="true"
  34. # Uncomment the following line to display red dots whilst waiting for completion.
  35. # COMPLETION_WAITING_DOTS="true"
  36. # Uncomment the following line if you want to disable marking untracked files
  37. # under VCS as dirty. This makes repository status check for large repositories
  38. # much, much faster.
  39. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  40. # Uncomment the following line if you want to change the command execution time
  41. # stamp shown in the history command output.
  42. # You can set one of the optional three formats:
  43. # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  44. # or set a custom format using the strftime function format specifications,
  45. # see 'man strftime' for details.
  46. # HIST_STAMPS="mm/dd/yyyy"
  47. # Would you like to use another custom folder than $ZSH/custom?
  48. # ZSH_CUSTOM=/path/to/new-custom-folder
  49. # Which plugins would you like to load?
  50. # Standard plugins can be found in ~/.oh-my-zsh/plugins/*
  51. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  52. # Example format: plugins=(rails git textmate ruby lighthouse)
  53. # Add wisely, as too many plugins slow down shell startup.
  54. #plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
  55. plugins=(git extract cp vi-mode z zsh-syntax-highlighting)
  56. ZSH_DISABLE_COMPFIX="true"
  57. source $ZSH/oh-my-zsh.sh
  58. # @link: http://github.com/zsh-users/zsh-syntax-highlighting
  59. source $ZSH/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
  60. ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
  61. ZSH_HIGHLIGHT_PATTERNS=('rm -rf *' 'fg=white,bold,bg=red') # To have commands starting with `rm -rf` in red:
  62. # @link: https://github.com/zsh-users/zsh-autosuggestions
  63. #source $ZSH/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
  64. # User configuration
  65. # export MANPATH="/usr/local/man:$MANPATH"
  66. # You may need to manually set your language environment
  67. # export LANG=en_US.UTF-8
  68. # Preferred editor for local and remote sessions
  69. # if [[ -n $SSH_CONNECTION ]]; then
  70. # export EDITOR='vim'
  71. # else
  72. # export EDITOR='mvim'
  73. # fi
  74. # Compilation flags
  75. # export ARCHFLAGS="-arch x86_64"
  76. # ssh
  77. # export SSH_KEY_PATH="~/.ssh/rsa_id"
  78. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  79. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  80. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  81. # For a full list of active aliases, run `alias`.
  82. #
  83. # Example aliases
  84. # alias zshconfig="mate ~/.zshrc"
  85. # alias ohmyzsh="mate ~/.oh-my-zsh"

.dir_colors

  1. # Exact Solarized Dark color theme for the color GNU ls utility.
  2. # Designed for dircolors (GNU coreutils) 5.97
  3. #
  4. # This simple theme was simultaneously designed for these terminal color schemes:
  5. # - Solarized dark (best)
  6. # - Solarized light
  7. # - default dark
  8. # - default light
  9. # with a slight optimization for Solarized Dark.
  10. #
  11. # How the colors were selected:
  12. # - Terminal emulators often have an option typically enabled by default that makes
  13. # bold a different color. It is important to leave this option enabled so that
  14. # you can access the entire 16-color Solarized palette, and not just 8 colors.
  15. # - We favor universality over a greater number of colors. So we limit the number
  16. # of colors so that this theme will work out of the box in all terminals,
  17. # Solarized or not, dark or light.
  18. # - We choose to have the following category of files:
  19. # NORMAL & FILE, DIR, LINK, EXEC and
  20. # editable text including source, unimportant text, binary docs & multimedia source
  21. # files, viewable multimedia, archived/compressed, and unimportant non-text
  22. # - For uniqueness, we stay away from the Solarized foreground colors are -- either
  23. # base00 (brightyellow) or base0 (brightblue). However, they can be used if
  24. # you know what the bg/fg colors of your terminal are, in order to optimize the display.
  25. # - 3 different options are provided: universal, solarized dark, and solarized light.
  26. # The only difference between the universal scheme and one that's optimized for
  27. # dark/light is the color of "unimportant" files, which should blend more with the
  28. # background
  29. # - We note that blue is the hardest color to see on dark bg and yellow is the hardest
  30. # color to see on light bg (with blue being particularly bad). So we choose yellow
  31. # for multimedia files which are usually accessed in a GUI folder browser anyway.
  32. # And blue is kept for custom use of this scheme's user.
  33. # - See table below to see the assignments.
  34. # Installation instructions:
  35. # This file goes in the /etc directory, and must be world readable.
  36. # You can copy this file to .dir_colors in your $HOME directory to override
  37. # the system defaults.
  38. # COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
  39. # pipes. 'all' adds color characters to all output. 'none' shuts colorization
  40. # off.
  41. COLOR tty
  42. # Below, there should be one TERM entry for each termtype that is colorizable
  43. TERM ansi
  44. TERM color_xterm
  45. TERM color-xterm
  46. TERM con132x25
  47. TERM con132x30
  48. TERM con132x43
  49. TERM con132x60
  50. TERM con80x25
  51. TERM con80x28
  52. TERM con80x30
  53. TERM con80x43
  54. TERM con80x50
  55. TERM con80x60
  56. TERM cons25
  57. TERM console
  58. TERM cygwin
  59. TERM dtterm
  60. TERM dvtm
  61. TERM dvtm-256color
  62. TERM Eterm
  63. TERM eterm-color
  64. TERM fbterm
  65. TERM gnome
  66. TERM gnome-256color
  67. TERM jfbterm
  68. TERM konsole
  69. TERM konsole-256color
  70. TERM kterm
  71. TERM linux
  72. TERM linux-c
  73. TERM mach-color
  74. TERM mlterm
  75. TERM nxterm
  76. TERM putty
  77. TERM putty-256color
  78. TERM rxvt
  79. TERM rxvt-256color
  80. TERM rxvt-cygwin
  81. TERM rxvt-cygwin-native
  82. TERM rxvt-unicode
  83. TERM rxvt-unicode256
  84. TERM rxvt-unicode-256color
  85. TERM screen
  86. TERM screen-16color
  87. TERM screen-16color-bce
  88. TERM screen-16color-s
  89. TERM screen-16color-bce-s
  90. TERM screen-256color
  91. TERM screen-256color-bce
  92. TERM screen-256color-s
  93. TERM screen-256color-bce-s
  94. TERM screen-256color-italic
  95. TERM screen-bce
  96. TERM screen-w
  97. TERM screen.linux
  98. TERM screen.xterm-256color
  99. TERM screen.xterm-new
  100. TERM st
  101. TERM st-meta
  102. TERM st-256color
  103. TERM st-meta-256color
  104. TERM tmux
  105. TERM tmux-256color
  106. TERM vt100
  107. TERM xterm
  108. TERM xterm-new
  109. TERM xterm-16color
  110. TERM xterm-256color
  111. TERM xterm-256color-italic
  112. TERM xterm-88color
  113. TERM xterm-color
  114. TERM xterm-debian
  115. TERM xterm-termite
  116. # EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
  117. EIGHTBIT 1
  118. #############################################################################
  119. # Below are the color init strings for the basic file types. A color init
  120. # string consists of one or more of the following numeric codes:
  121. #
  122. # Attribute codes:
  123. # 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
  124. # Text color codes:
  125. # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
  126. # Background color codes:
  127. # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
  128. #
  129. # NOTES:
  130. # - See http://www.oreilly.com/catalog/wdnut/excerpt/color_names.html
  131. # - Color combinations
  132. # ANSI Color code Solarized Notes Universal SolDark SolLight
  133. # ~~~~~~~~~~~~~~~ ~~~~~~~~~ ~~~~~ ~~~~~~~~~ ~~~~~~~ ~~~~~~~~
  134. # 00 none NORMAL, FILE <SAME> <SAME>
  135. # 30 black base02
  136. # 01;30 bright black base03 bg of SolDark
  137. # 31 red red docs & mm src <SAME> <SAME>
  138. # 01;31 bright red orange EXEC <SAME> <SAME>
  139. # 32 green green editable text <SAME> <SAME>
  140. # 01;32 bright green base01 unimportant text <SAME>
  141. # 33 yellow yellow unclear in light bg multimedia <SAME> <SAME>
  142. # 01;33 bright yellow base00 fg of SolLight unimportant non-text
  143. # 34 blue blue unclear in dark bg user customized <SAME> <SAME>
  144. # 01;34 bright blue base0 fg in SolDark unimportant text
  145. # 35 magenta magenta LINK <SAME> <SAME>
  146. # 01;35 bright magenta violet archive/compressed <SAME> <SAME>
  147. # 36 cyan cyan DIR <SAME> <SAME>
  148. # 01;36 bright cyan base1 unimportant non-text <SAME>
  149. # 37 white base2
  150. # 01;37 bright white base3 bg in SolLight
  151. # 05;37;41 unclear in Putty dark
  152. ### By file type
  153. # global default
  154. NORMAL 00
  155. # normal file
  156. FILE 00
  157. # directory
  158. DIR 34
  159. # 777 directory
  160. OTHER_WRITABLE 34;40
  161. # symbolic link
  162. LINK 35
  163. # pipe, socket, block device, character device (blue bg)
  164. FIFO 30;44
  165. SOCK 35;44
  166. DOOR 35;44 # Solaris 2.5 and later
  167. BLK 33;44
  168. CHR 37;44
  169. #############################################################################
  170. ### By file attributes
  171. # Orphaned symlinks (blinking white on red)
  172. # Blink may or may not work (works on iTerm dark or light, and Putty dark)
  173. ORPHAN 05;37;41
  174. # ... and the files that orphaned symlinks point to (blinking white on red)
  175. MISSING 05;37;41
  176. # files with execute permission
  177. EXEC 01;31 # Unix
  178. .cmd 01;31 # Win
  179. .exe 01;31 # Win
  180. .com 01;31 # Win
  181. .bat 01;31 # Win
  182. .reg 01;31 # Win
  183. .app 01;31 # OSX
  184. #############################################################################
  185. ### By extension
  186. # List any file extensions like '.gz' or '.tar' that you would like ls
  187. # to colorize below. Put the extension, a space, and the color init string.
  188. # (and any comments you want to add after a '#')
  189. ### Text formats
  190. # Text that we can edit with a regular editor
  191. .txt 32
  192. .org 32
  193. .md 32
  194. .mkd 32
  195. # Source text
  196. .h 32
  197. .hpp 32
  198. .c 32
  199. .C 32
  200. .cc 32
  201. .cpp 32
  202. .cxx 32
  203. .objc 32
  204. .cl 32
  205. .sh 32
  206. .bash 32
  207. .csh 32
  208. .zsh 32
  209. .el 32
  210. .vim 32
  211. .java 32
  212. .pl 32
  213. .pm 32
  214. .py 32
  215. .rb 32
  216. .hs 32
  217. .php 32
  218. .htm 32
  219. .html 32
  220. .shtml 32
  221. .erb 32
  222. .haml 32
  223. .xml 32
  224. .rdf 32
  225. .css 32
  226. .sass 32
  227. .scss 32
  228. .less 32
  229. .js 32
  230. .coffee 32
  231. .man 32
  232. .0 32
  233. .1 32
  234. .2 32
  235. .3 32
  236. .4 32
  237. .5 32
  238. .6 32
  239. .7 32
  240. .8 32
  241. .9 32
  242. .l 32
  243. .n 32
  244. .p 32
  245. .pod 32
  246. .tex 32
  247. .go 32
  248. .sql 32
  249. .csv 32
  250. .sv 32
  251. .svh 32
  252. .v 32
  253. .vh 32
  254. .vhd 32
  255. ### Multimedia formats
  256. # Image
  257. .bmp 33
  258. .cgm 33
  259. .dl 33
  260. .dvi 33
  261. .emf 33
  262. .eps 33
  263. .gif 33
  264. .jpeg 33
  265. .jpg 33
  266. .JPG 33
  267. .mng 33
  268. .pbm 33
  269. .pcx 33
  270. .pdf 33
  271. .pgm 33
  272. .png 33
  273. .PNG 33
  274. .ppm 33
  275. .pps 33
  276. .ppsx 33
  277. .ps 33
  278. .svg 33
  279. .svgz 33
  280. .tga 33
  281. .tif 33
  282. .tiff 33
  283. .xbm 33
  284. .xcf 33
  285. .xpm 33
  286. .xwd 33
  287. .xwd 33
  288. .yuv 33
  289. # Audio
  290. .aac 33
  291. .au 33
  292. .flac 33
  293. .m4a 33
  294. .mid 33
  295. .midi 33
  296. .mka 33
  297. .mp3 33
  298. .mpa 33
  299. .mpeg 33
  300. .mpg 33
  301. .ogg 33
  302. .opus 33
  303. .ra 33
  304. .wav 33
  305. # Video
  306. .anx 33
  307. .asf 33
  308. .avi 33
  309. .axv 33
  310. .flc 33
  311. .fli 33
  312. .flv 33
  313. .gl 33
  314. .m2v 33
  315. .m4v 33
  316. .mkv 33
  317. .mov 33
  318. .MOV 33
  319. .mp4 33
  320. .mp4v 33
  321. .mpeg 33
  322. .mpg 33
  323. .nuv 33
  324. .ogm 33
  325. .ogv 33
  326. .ogx 33
  327. .qt 33
  328. .rm 33
  329. .rmvb 33
  330. .swf 33
  331. .vob 33
  332. .webm 33
  333. .wmv 33
  334. ### Misc
  335. # Binary document formats and multimedia source
  336. .doc 31
  337. .docx 31
  338. .rtf 31
  339. .odt 31
  340. .dot 31
  341. .dotx 31
  342. .ott 31
  343. .xls 31
  344. .xlsx 31
  345. .ods 31
  346. .ots 31
  347. .ppt 31
  348. .pptx 31
  349. .odp 31
  350. .otp 31
  351. .fla 31
  352. .psd 31
  353. # Archives, compressed
  354. .7z 1;35
  355. .apk 1;35
  356. .arj 1;35
  357. .bin 1;35
  358. .bz 1;35
  359. .bz2 1;35
  360. .cab 1;35 # Win
  361. .deb 1;35
  362. .dmg 1;35 # OSX
  363. .gem 1;35
  364. .gz 1;35
  365. .iso 1;35
  366. .jar 1;35
  367. .msi 1;35 # Win
  368. .rar 1;35
  369. .rpm 1;35
  370. .tar 1;35
  371. .tbz 1;35
  372. .tbz2 1;35
  373. .tgz 1;35
  374. .tx 1;35
  375. .war 1;35
  376. .xpi 1;35
  377. .xz 1;35
  378. .z 1;35
  379. .Z 1;35
  380. .zip 1;35
  381. # For testing
  382. .ANSI-30-black 30
  383. .ANSI-01;30-brblack 01;30
  384. .ANSI-31-red 31
  385. .ANSI-01;31-brred 01;31
  386. .ANSI-32-green 32
  387. .ANSI-01;32-brgreen 01;32
  388. .ANSI-33-yellow 33
  389. .ANSI-01;33-bryellow 01;33
  390. .ANSI-34-blue 34
  391. .ANSI-01;34-brblue 01;34
  392. .ANSI-35-magenta 35
  393. .ANSI-01;35-brmagenta 01;35
  394. .ANSI-36-cyan 36
  395. .ANSI-01;36-brcyan 01;36
  396. .ANSI-37-white 37
  397. .ANSI-01;37-brwhite 01;37
  398. #############################################################################
  399. # Your customizations
  400. # Unimportant text files
  401. # For universal scheme, use brightgreen 01;32
  402. # For optimal on light bg (but too prominent on dark bg), use white 01;34
  403. .log 01;32
  404. *~ 01;32
  405. *# 01;32
  406. #.log 01;34
  407. #*~ 01;34
  408. #*# 01;34
  409. # Unimportant non-text files
  410. # For universal scheme, use brightcyan 01;36
  411. # For optimal on dark bg (but too prominent on light bg), change to 01;33
  412. #.bak 01;36
  413. #.BAK 01;36
  414. #.old 01;36
  415. #.OLD 01;36
  416. #.org_archive 01;36
  417. #.off 01;36
  418. #.OFF 01;36
  419. #.dist 01;36
  420. #.DIST 01;36
  421. #.orig 01;36
  422. #.ORIG 01;36
  423. #.swp 01;36
  424. #.swo 01;36
  425. #*,v 01;36
  426. .bak 01;33
  427. .BAK 01;33
  428. .old 01;33
  429. .OLD 01;33
  430. .org_archive 01;33
  431. .off 01;33
  432. .OFF 01;33
  433. .dist 01;33
  434. .DIST 01;33
  435. .orig 01;33
  436. .ORIG 01;33
  437. .swp 01;33
  438. .swo 01;33
  439. *,v 01;33
  440. # The brightmagenta (Solarized: purple) color is free for you to use for your
  441. # custom file type
  442. .gpg 34
  443. .gpg 34
  444. .pgp 34
  445. .asc 34
  446. .3des 34
  447. .aes 34
  448. .enc 34
  449. .sqlite 34

.minttyrc

.minttyrc_solarized_dark

  1. BoldAsFont=-1
  2. CursorType=block
  3. Locale=en_US
  4. Charset=UTF-8
  5. Term=xterm-256color
  6. ThemeFile=
  7. Font=Consolas for Powerline FixedD
  8. FontHeight=13
  9. Columns=190
  10. Rows=46
  11. BellType=0
  12. ClicksPlaceCursor=no
  13. CopyAsRTF=no
  14. ScrollbackLines=276447231
  15. ClicksTargetApp=no
  16. BoldAsColour=yes
  17. Black=7,54,66
  18. Red=220,50,47
  19. Green=133,153,0
  20. Yellow=181,137,0
  21. Blue=38,139,210
  22. Magenta=211,54,130
  23. Cyan=42,161,152
  24. White=238,232,213
  25. BoldBlack=0,43,54
  26. BoldRed=203,75,22
  27. BoldGreen=88,110,117
  28. BoldYellow=101,123,131
  29. BoldBlue=131,148,150
  30. BoldMagenta=108,113,196
  31. BoldCyan=147,161,161
  32. BoldWhite=253,246,227
  33. ForegroundColour=238,232,213
  34. BackgroundColour=0,43,54
  35. CursorColour=133,153,0