File tree 5 files changed +62
-15
lines changed
5 files changed +62
-15
lines changed Original file line number Diff line number Diff line change
1
+ ZSH_THEME=" agnoster"
2
+
3
+ plugins=(
4
+ git
5
+ osx
6
+ )
7
+
1
8
2
9
[[ -s " $HOME /.profile" ]] && source " $HOME /.profile" # Load the default .profile
3
10
4
- if [ -f $( brew --prefix) /etc/bash_completion ]; then
5
- . $( brew --prefix) /etc/bash_completion
6
- fi
11
+ # if [ -f $(brew --prefix)/etc/bash_completion ]; then
12
+ # . $(brew --prefix)/etc/bash_completion
13
+ # fi
14
+
15
+ # Continuation of gpg setup
16
+ # GPG_TTY=$(tty)
17
+ # export GPG_TTY
18
+
19
+ export PATH=" $HOME /.cargo/bin:$PATH "
20
+ export PATH=" /usr/local/opt/postgresql@9.6/bin:$PATH "
21
+
22
+ eval " $( rbenv init -) "
23
+ if [ -e /Users/bfung/.nix-profile/etc/profile.d/nix.sh ]; then
24
+ . /Users/bfung/.nix-profile/etc/profile.d/nix.sh;
25
+ fi # added by Nix installer
7
26
8
- [[ -s " $HOME /.rvm/scripts/rvm" ]] && source " $HOME /.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
27
+ # ohmyzsh theme to hide user@hostname
28
+ prompt_context (){}
Original file line number Diff line number Diff line change 1
-
2
- PATH=$PATH :$HOME /.rvm/bin # Add RVM to PATH for scripting
Original file line number Diff line number Diff line change 3
3
[user ]
4
4
name = Benson Fung
5
5
email = fung.benson@gmail.com
6
+ signingkey = 70FD86FD927E9028
6
7
7
8
[push ]
8
9
default = simple
10
+ [gpg ]
11
+ program = /usr/local/bin/gpg
Original file line number Diff line number Diff line change 1
- export CLICOLOR=1
2
- export LSCOLORS=GxFxCxDxBxegedabagaced
1
+ source /usr/local/etc/bash_completion.d/git-prompt.sh
2
+ # source /usr/local/etc/bash_completion.d/git-completion.zsh
3
+
4
+ # export CLICOLOR=1
5
+ # export LSCOLORS=GxFxCxDxBxegedabagaced
3
6
4
7
alias ls=' ls -GFh'
5
- alias ll=' ls -Glta '
8
+ alias ll=' ls -Gla '
6
9
7
- if [ -f ` brew --prefix` /etc/bash_completion ]; then
8
- . ` brew --prefix` /etc/bash_completion
9
- fi
10
+ # export GIT_PS1_SHOWDIRTYSTATE=1
11
+ # export PS1='\w$(__git_ps1 " [%s]")\$ '
12
+
13
+ # if [ -f "$(brew --prefix)/etc/bash_completion" ]; then
14
+ # . "$(brew --prefix)/etc/bash_completion"
15
+ # fi
10
16
11
17
export w=~ /workspace
12
- export JAVA_HOME=$( /usr/libexec/java_home)
18
+ export JAVA_HOME=" $( /usr/libexec/java_home) "
13
19
14
20
if which jenv > /dev/null; then
15
21
eval " $( jenv init -) " ;
16
22
fi
17
23
18
- PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH
24
+ # Add the following to your shell init to set up gpg-agent automatically for every shell
25
+ # 2018-04-06 - Comment out for now and use GPG Guite for macOS High Sierra
26
+ # if [ -f ~/.gnupg/gpg-agent-info ] && [ $(pgrep gpg-agent) ]; then
27
+ # source ~/.gnupg/gpg-agent-info
28
+ # export GPG_AGENT_INFO
29
+ # export SSH_AUTH_SOCK
30
+ # else
31
+ # gpg-agent --daemon --enable-ssh-support \
32
+ # --write-env-file ~/.gnupg/gpg-agent-info
33
+ # fi
34
+
35
+ if which pyenv > /dev/null; then
36
+ eval " $( pyenv init -) "
37
+ fi
38
+
39
+ alias grep=' grep --color=auto --exclude-dir={.git,.stack-work}'
40
+
41
+ PATH=$PATH :/$HOME /.local/bin:usr/local/bin:/usr/local/sbin
42
+ PATH=$PATH :$HOME /.cargo/bin
43
+ export PATH
44
+
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set ruler "show the column position of the cursor
4
4
set smartindent " autoindent
5
5
set tabstop = 4 " tabs are 4 spaces
6
6
set shiftwidth = 4 " number of spaces for auto/smart indent
7
- set expandtab " tabs to spaces
7
+ " set expandtab "tabs to spaces
8
8
9
9
" get rid of trailing whitespace
10
10
set wrap
You can’t perform that action at this time.
0 commit comments