SHARE
TWEET

Untitled

a guest May 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Path to your oh-my-zsh installation.
  2. export ZSH=/home/kromm/.oh-my-zsh
  3.  
  4. # Set name of the theme to load.
  5. # Look in ~/.oh-my-zsh/themes/
  6. # Optionally, if you set this to "random", it'll load a random theme each
  7. # time that oh-my-zsh is loaded.
  8. ZSH_THEME="agnoster"
  9.  
  10. # Uncomment the following line to use case-sensitive completion.
  11. # CASE_SENSITIVE="true"
  12.  
  13. # Uncomment the following line to use hyphen-insensitive completion. Case
  14. # sensitive completion must be off. _ and - will be interchangeable.
  15. # HYPHEN_INSENSITIVE="true"
  16.  
  17. # Uncomment the following line to disable bi-weekly auto-update checks.
  18. # DISABLE_AUTO_UPDATE="true"
  19.  
  20. # Uncomment the following line to change how often to auto-update (in days).
  21. # export UPDATE_ZSH_DAYS=13
  22.  
  23. # Uncomment the following line to disable colors in ls.
  24. # DISABLE_LS_COLORS="true"
  25.  
  26. # Uncomment the following line to disable auto-setting terminal title.
  27. # DISABLE_AUTO_TITLE="true"
  28.  
  29. # Uncomment the following line to enable command auto-correction.
  30. # ENABLE_CORRECTION="true"
  31.  
  32. # Uncomment the following line to display red dots whilst waiting for completion.
  33. # COMPLETION_WAITING_DOTS="true"
  34.  
  35. # Uncomment the following line if you want to disable marking untracked files
  36. # under VCS as dirty. This makes repository status check for large repositories
  37. # much, much faster.
  38. # DISABLE_UNTRACKED_FILES_DIRTY="true"
  39.  
  40. # Uncomment the following line if you want to change the command execution time
  41. # stamp shown in the history command output.
  42. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
  43. # HIST_STAMPS="mm/dd/yyyy"
  44.  
  45. # Would you like to use another custom folder than $ZSH/custom?
  46. # ZSH_CUSTOM=/path/to/new-custom-folder
  47.  
  48. # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
  49. # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
  50. # Example format: plugins=(rails git textmate ruby lighthouse)
  51. # Add wisely, as too many plugins slow down shell startup.
  52. plugins=(git)
  53.  
  54. # User configuration
  55.  
  56. export PATH="/c/Users/kromm/bin:$PATH"
  57. # export MANPATH="/usr/local/man:$MANPATH"
  58.  
  59. source $ZSH/oh-my-zsh.sh
  60.  
  61. # You may need to manually set your language environment
  62. # export LANG=en_US.UTF-8
  63.  
  64. # Preferred editor for local and remote sessions
  65. # if [[ -n $SSH_CONNECTION ]]; then
  66. #   export EDITOR='vim'
  67. # else
  68. #   export EDITOR='mvim'
  69. # fi
  70.  
  71. # Compilation flags
  72. # export ARCHFLAGS="-arch x86_64"
  73.  
  74. # ssh
  75. # export SSH_KEY_PATH="~/.ssh/dsa_id"
  76.  
  77. # Set personal aliases, overriding those provided by oh-my-zsh libs,
  78. # plugins, and themes. Aliases can be placed here, though oh-my-zsh
  79. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
  80. # For a full list of active aliases, run `alias`.
  81. #
  82. # Example aliases
  83. # alias zshconfig="mate ~/.zshrc"
  84. # alias ohmyzsh="mate ~/.oh-my-zsh"
  85.  
  86. alias gst="git status"
  87. alias gcm="git commit"
  88. alias gdi="git diff"
  89. alias bp="beep -f 40 -l 50"
  90. alias E="exit"
  91. alias N="nvlc *"
  92. alias K="kolourpaint"
  93.  
  94. autoload -U promptinit
  95. promptinit
  96. prompt adam2
  97.  
  98. setopt prompt_subst
  99. autoload -Uz vcs_info
  100. zstyle ':vcs_info:*' actionformats \
  101.         '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{1}%a%F{5}]%f '
  102. zstyle ':vcs_info:*' formats       \
  103.         '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f '
  104. zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b%F{1}:%F{3}%r'
  105.  
  106. zstyle ':vcs_info:*' enable git cvs svn
  107.  
  108. vcs_info_wrapper() {
  109.   vcs_info
  110.   if [ -n "$vcs_info_msg_0_" ]; then
  111.       echo "[$(basename `git rev-parse --show-toplevel`)] ${vcs_info}%{$fg[grey]%}${vcs_info_msg_0_}%{$reset_color%}$del"
  112.   fi
  113. }
  114. RPROMPT=$'$(vcs_info_wrapper)'
  115.  
  116. bindkey '\e.' insert-last-word
  117.  
  118. setopt histignorespace
  119.  
  120. # helgrind for Qt5
  121. alias helgrind="QT_NO_GLIB=1 valgrind --tool=helgrind --track-lockorders=no"
  122.  
  123. alias mdate="date +\"%Y-%m-%d %H:%M\""
  124.  
  125. fpath+=~/.zfunc
  126. compinit
  127.  
  128. export PATH="/c/Program Files/Java/jre1.8.0_201/bin:/c/Program Files (x85)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx64/x64/":$PATH
  129.  
  130. export SHELL=/usr/bin/zsh
  131.  
  132. export ALTERNATE_EDITOR=""
  133. export EDITOR="emacsclient -t"                  # $EDITOR opens in terminal
  134. export VISUAL="emacsclient -c -a emacs"         # $VISUAL opens in GUI mode
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top