1
+ autoload -U compinit promptinit colors
2
+ compinit && promptinit && colors
3
+ prompt adam1
4
+
1
5
export EDITOR=vim
2
6
export HISTSIZE=20000
7
+ RUBYPATH=/var/lib/gems/1.8/bin
8
+ CABALPATH=$HOME /.cabal/bin
9
+ export PATH=$HOME /bin:$CABALPATH :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
3
10
4
11
# setup for virtualenvwrapper and pip
5
12
export WORKON_HOME=$HOME /projects/envs
6
13
export PIP_VIRTUALENV_BASE=$WORKON_HOME
7
14
export PIP_RESPECT_VIRTUALENV=true
8
15
9
- # Oh-My-Zsh {{{
10
- #
11
- # Path to your oh-my-zsh configuration.
12
- export ZSH=$HOME /.oh-my-zsh
13
- # Set name of the theme to load.
14
- # Look in ~/.oh-my-zsh/themes/
15
- # Optionally, if you set this to "random", it'll load a random theme each
16
- # time that oh-my-zsh is loaded.
17
- export ZSH_THEME=" unt"
18
-
19
- export DISABLE_AUTO_UPDATE=" true" # Comment this out to disable weekly auto-update checks
20
- export DISABLE_AUTO_TITLE=" true" # Uncomment following line if you want to disable autosetting terminal title.
21
-
22
- # zsh-syntax highlighting.. maybe
23
- # ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
24
- #
25
- # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
26
- # Example format: plugins=(rails git textmate ruby lighthouse)
27
- plugins=(git) # zsh-syntax-highlighting)
28
-
29
- source $ZSH /oh-my-zsh.sh
30
-
31
- # }}}
32
-
33
- # Prompt, using oh-my-zsh colors {{{
34
16
17
+ # TODO fix this so it doesn't use oh-my-zsh colors
35
18
function zle-line-init zle-keymap-select {
36
19
MODE=" ${${KEYMAP/ vicmd/ -N-} / (main|viins)/ -I-} "
37
20
RPS1=" %{$fg [cyan]%}%1c %{$reset_color %}$MODE %{$fg_bold [green]%}% $USER @$HOST % %{$reset_color %}"
@@ -44,19 +27,19 @@ zle -N zle-line-init
44
27
45
28
# this stuff is way more confusing than it needs be
46
29
# [ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#I") $PWD
47
- PROMPT=' %{$fg_bold[red]%}➜%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} %{$reset_color%}'
30
+ # PROMPT='%{$fg_bold[red]%}➜%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} %{$reset_color%}'
48
31
# RPROMPT='%{$fg[cyan]%}%1c %{$fg_bold[green]%}% $USER@$HOST% %{$reset_color%}'
49
32
50
- # }}}
51
-
52
33
53
- # Customize to your needs...
54
- export PATH= $HOME /bin:/var/lib/gems/1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
34
+ # Load various files
35
+ # TODO maybe make a function so it's less repetitive?
55
36
56
37
[[ -f $HOME /.pythonbrew/etc/bashrc ]] && source $HOME /.pythonbrew/etc/bashrc
57
38
[[ -f $HOME /.rvm/scripts/rvm ]] && source $HOME /.rvm/scripts/rvm
58
39
[[ -f /etc/profile.d/autojump.zsh ]] && source /etc/profile.d/autojump.zsh
59
40
# command -v virtualenvwrapper.sh >/dev/null && source virtualenvwrapper.sh #>&/dev/null
41
+ [[ -f $HOME /.bash_aliases ]] && source $HOME /.bash_aliases
42
+ [[ -f /etc/git-completion.bash ]] && source /etc/git-completion.bash
60
43
61
44
62
45
# TODO double check these options?
@@ -89,4 +72,3 @@ bindkey -M viins 'f' vi-forward-word
89
72
90
73
# }}}
91
74
92
- [[ -f $HOME /.bash_aliases ]] && source $HOME /.bash_aliases
0 commit comments