Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. # Created by newuser for 5.7.1
  2.  
  3. # prompt
  4. PROMPT='%(5~,%-1~/.../%2~,%~) %F{red}%B❯%b%f%F{yellow}%B❯%b%f%F{green}%B❯%b%f '
  5.  
  6. # before autoload
  7. fpath=(~/.zsh/completion $fpath)
  8.  
  9. # enable completions
  10. autoload -U compinit
  11. compinit -u
  12.  
  13. setopt auto_list
  14. setopt auto_menu
  15.  
  16. # colorize completions
  17. autoload -U colors
  18. # colors
  19. # zstyle ':completion:*' list-colors "${LS_COLORS}"
  20.  
  21. # completion options
  22. setopt complete_in_word
  23. zstyle ':completion:*:default' menu select=1
  24. zstyle ':completion::complete:*' use-cache true
  25. zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
  26.  
  27. # 日本語ファイル名を表示可能にする
  28. setopt print_eight_bit
  29.  
  30. # beep を無効にする
  31. setopt no_beep
  32.  
  33. # フローコントロールを無効にする
  34. setopt no_flow_control
  35.  
  36. # Ctrl+Dでzshを終了しない
  37. setopt ignore_eof
  38.  
  39. # '#' 以降をコメントとして扱う
  40. setopt interactive_comments
  41.  
  42. # ディレクトリ名だけでcdする
  43. setopt auto_cd
  44.  
  45. # cd したら自動的にpushdする
  46. setopt auto_pushd
  47.  
  48. # 重複したディレクトリを追加しない
  49. setopt pushd_ignore_dups
  50.  
  51. # 同じコマンドをヒストリに残さない
  52. setopt hist_ignore_all_dups
  53.  
  54. # スペースから始まるコマンド行はヒストリに残さない
  55. setopt hist_ignore_space
  56.  
  57. # ヒストリに保存するときに余分なスペースを削除する
  58. setopt hist_reduce_blanks
  59.  
  60. # 高機能なワイルドカード展開を使用する
  61. setopt extended_glob
  62.  
  63. # load histories
  64. HISTFILE=$HOME/.zsh-history
  65. HISTSIZE=1000000
  66. SAVEHIST=1000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement