LinOnetwo

zshrc

May 6th, 2019
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.82 KB | None | 0 0
  1. # If you come from bash you might have to change your $PATH.
  2. # export PATH=$HOME/bin:/usr/local/bin:$PATH
  3.  
  4. export RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static
  5. export RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup
  6. export PATH="$HOME/.cargo/bin:/usr/local/texlive/2018/bin/x86_64-darwin:/usr/local/bin:/Users/linonetwo/Library/Python/3.7/bin:/Applications/Google Chrome.app/Contents/MacOS:$PATH"
  7.  
  8.  
  9. # Path to your oh-my-zsh installation.
  10. export ZSH="/Users/linonetwo/.oh-my-zsh"
  11.  
  12. # Set name of the theme to load --- if set to "random", it will
  13. # load a random theme each time oh-my-zsh is loaded, in which case,
  14. # to know which specific one was loaded, run: echo $RANDOM_THEME
  15. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  16. ZSH_THEME="imajes"
  17.  
  18. # Set list of themes to pick from when loading at random
  19. # Setting this variable when ZSH_THEME=random will cause zsh to load
  20. # a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
  21. # If set to an empty array, this variable will have no effect.
  22. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  23.  
  24. # Uncomment the following line to use case-sensitive completion.
  25. # CASE_SENSITIVE="true"
  26.  
  27. # Uncomment the following line to use hyphen-insensitive completion.
  28. # Case-sensitive completion must be off. _ and - will be interchangeable.
  29. # HYPHEN_INSENSITIVE="true"
  30.  
  31. # Uncomment the following line to disable bi-weekly auto-update checks.
  32. # DISABLE_AUTO_UPDATE="true"
  33.  
  34. # Uncomment the following line to change how often to auto-update (in days).
  35. # export UPDATE_ZSH_DAYS=13
  36.  
  37. # Uncomment the following line to disable colors in ls.
  38. # DISABLE_LS_COLORS="true"
  39.  
  40. # Uncomment the following line to disable auto-setting terminal title.
  41. DISABLE_AUTO_TITLE="true"
  42.  
  43. # Uncomment the following line to enable command auto-correction.
  44. ENABLE_CORRECTION="true"
  45.  
  46. # Uncomment the following line to display red dots whilst waiting for completion.
  47. # COMPLETION_WAITING_DOTS="true"
  48.  
  49. # Uncomment the following line if you want to disable marking untracked files
  50. # under VCS as dirty. This makes repository status check for large repositories
  51. # much, much faster.
  52. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  53.  
  54. # Uncomment the following line if you want to change the command execution time
  55. # stamp shown in the history command output.
  56. # You can set one of the optional three formats:
  57. # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  58. # or set a custom format using the strftime function format specifications,
  59. # see 'man strftime' for details.
  60. HIST_STAMPS="yyyy-mm-dd"
  61.  
  62. # Would you like to use another custom folder than $ZSH/custom?
  63. # ZSH_CUSTOM=/path/to/new-custom-folder
  64.  
  65. # Which plugins would you like to load?
  66. # Standard plugins can be found in ~/.oh-my-zsh/plugins/*
  67. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  68. # Example format: plugins=(rails git textmate ruby lighthouse)
  69. # Add wisely, as too many plugins slow down shell startup.
  70. plugins=(autojump extract per-directory-history zsh-syntax-highlighting)
  71.  
  72. source $ZSH/oh-my-zsh.sh
  73. # User configuration
  74.  
  75. # export MANPATH="/usr/local/man:$MANPATH"
  76.  
  77. # You may need to manually set your language environment
  78. export LANG=en_US.UTF-8
  79.  
  80. # Preferred editor for local and remote sessions
  81. if [[ -n $SSH_CONNECTION ]]; then
  82.   export EDITOR='vim'
  83. else
  84.   export EDITOR='code'
  85. fi
  86.  
  87. # Compilation flags
  88. # export ARCHFLAGS="-arch x86_64"
  89.  
  90. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  91. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  92. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  93. # For a full list of active aliases, run `alias`.
  94. #
  95. # Example aliases
  96. # alias zshconfig="mate ~/.zshrc"
  97. # alias ohmyzsh="mate ~/.oh-my-zsh"
  98.  
  99. source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
  100.  
  101. unset zle_bracketed_paste
Advertisement
Add Comment
Please, Sign In to add comment