Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
709
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.29 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. # Path to your oh-my-zsh installation.
  5. export ZSH="/Users/admin/.oh-my-zsh"
  6.  
  7. # Set name of the theme to load --- if set to "random", it will
  8. # load a random theme each time oh-my-zsh is loaded, in which case,
  9. # to know which specific one was loaded, run: echo $RANDOM_THEME
  10. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
  11. ZSH_THEME="bullet-train"
  12.  
  13. BULLETTRAIN_PROMPT_ORDER=(
  14. context
  15. dir
  16. git
  17. )
  18.  
  19. BULLETTRAIN_GIT_EXTENDED=false
  20. BULLETTRAIN_GIT_DIRTY=""
  21. BULLETTRAIN_GIT_CLEAN=""
  22.  
  23. # Set list of themes to pick from when loading at random
  24. # Setting this variable when ZSH_THEME=random will cause zsh to load
  25. # a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
  26. # If set to an empty array, this variable will have no effect.
  27. # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
  28.  
  29. # Uncomment the following line to use case-sensitive completion.
  30. # CASE_SENSITIVE="true"
  31.  
  32. # Uncomment the following line to use hyphen-insensitive completion.
  33. # Case-sensitive completion must be off. _ and - will be interchangeable.
  34. # HYPHEN_INSENSITIVE="true"
  35.  
  36. # Uncomment the following line to disable bi-weekly auto-update checks.
  37. # DISABLE_AUTO_UPDATE="true"
  38.  
  39. # Uncomment the following line to change how often to auto-update (in days).
  40. # export UPDATE_ZSH_DAYS=13
  41.  
  42. # Uncomment the following line to disable colors in ls.
  43. # DISABLE_LS_COLORS="true"
  44.  
  45. # Uncomment the following line to disable auto-setting terminal title.
  46. # DISABLE_AUTO_TITLE="true"
  47.  
  48. # Uncomment the following line to enable command auto-correction.
  49. # ENABLE_CORRECTION="true"
  50.  
  51. # Uncomment the following line to display red dots whilst waiting for completion.
  52. # COMPLETION_WAITING_DOTS="true"
  53.  
  54. # Uncomment the following line if you want to disable marking untracked files
  55. # under VCS as dirty. This makes repository status check for large repositories
  56. # much, much faster.
  57. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  58.  
  59. # Uncomment the following line if you want to change the command execution time
  60. # stamp shown in the history command output.
  61. # You can set one of the optional three formats:
  62. # "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  63. # or set a custom format using the strftime function format specifications,
  64. # see 'man strftime' for details.
  65. # HIST_STAMPS="mm/dd/yyyy"
  66.  
  67. # Would you like to use another custom folder than $ZSH/custom?
  68. # ZSH_CUSTOM=/path/to/new-custom-folder
  69.  
  70. # Which plugins would you like to load?
  71. # Standard plugins can be found in ~/.oh-my-zsh/plugins/*
  72. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  73. # Example format: plugins=(rails git textmate ruby lighthouse)
  74. # Add wisely, as too many plugins slow down shell startup.
  75. plugins=(
  76. git
  77. z
  78. )
  79.  
  80. source $ZSH/oh-my-zsh.sh
  81.  
  82. # User configuration
  83.  
  84. DEFAULT_USER=""
  85.  
  86. # export MANPATH="/usr/local/man:$MANPATH"
  87.  
  88. # You may need to manually set your language environment
  89. # export LANG=en_US.UTF-8
  90.  
  91. # Preferred editor for local and remote sessions
  92. # if [[ -n $SSH_CONNECTION ]]; then
  93. # export EDITOR='vim'
  94. # else
  95. # export EDITOR='mvim'
  96. # fi
  97.  
  98. # Compilation flags
  99. # export ARCHFLAGS="-arch x86_64"
  100.  
  101. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  102. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  103. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  104. # For a full list of active aliases, run `alias`.
  105. #
  106. # Example aliases
  107. # alias zshconfig="mate ~/.zshrc"
  108. # alias ohmyzsh="mate ~/.oh-my-zsh"
  109.  
  110. # shows the weather by running `weather'
  111. weather() {
  112. curl http://wttr.in/$1\?m1
  113. }
  114.  
  115. # creates a new file that uses the competitive programming template
  116. # with the name that is provided
  117. mkcp() {
  118. if ! test -f $1; then
  119. cp ~/competitive_programming/template.cpp $1
  120. fi
  121. nvim $1
  122. }
  123.  
  124. # qqqq and be happy
  125. qqqq() {
  126. echo 'you are now happy :)'
  127. }
  128.  
  129. # colorful ls
  130. alias ls='ls -G'
  131.  
  132. # java compiler and interpreter
  133. alias j='java'
  134. alias jc='javac'
  135.  
  136. # add pip install stuff
  137. PATH=$PATH:/Library/Frameworks/Python.framework/Versions/3.6/bin
  138.  
  139. # make C and C++ compiler gcc and g++
  140. alias gcc9='gcc-9'
  141. alias g++9='g++-9'
  142.  
  143. # python aliases
  144. alias py2='python'
  145. alias py3='python3'
  146.  
  147. # set default editor
  148. export EDITOR=nvim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement