-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.shell_exports
95 lines (72 loc) · 2.54 KB
/
.shell_exports
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# vim: ft=sh
# allow ctrl-s for forward incremental search in interactive terminals
# found that this messes with p10k instant prompt
#[[ $- == *i* ]] && stty -ixon
export HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_NO_ENV_HINTS=1
if command -v nvim > /dev/null 2>&1; then
export EDITOR=nvim
export VISUAL=nvim
export MANPAGER='nvim +Man!'
else
export EDITOR=vim
fi
PATH=/usr/local/bin:$PATH
PATH=/usr/local/sbin:$PATH
PATH=~/.local/bin:$PATH
# pager options
export LESS="-RFX"
# title
#export PROMPT_COMMAND='echo -ne "\033]0;$PWD\007"'
# latex
PATH=$PATH:/Library/TeX/texbin
# clang
PATH=$PATH:/usr/local/opt/llvm/bin
export ASAN_SYMBOLIZER_PATH="/usr/local/opt/llvm/bin/llvm-symbolizer"
# rust cargo
PATH="$PATH:$HOME/.cargo/bin"
# haskell cabal
PATH=$PATH:~/.cabal/bin
# golang
export GOPATH=$HOME/golang
export GOBIN=$GOPATH/bin
PATH=$PATH:$GOPATH/bin
# linuxbrew
if [[ -d /home/linuxbrew/.linuxbrew/ ]]; then
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
export MANPATH="/home/linuxbrew/.linuxbrew/share/man:$MANPATH"
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:$INFOPATH"
fi
export ASAN_SYMBOLIZER_PATH="/usr/local/opt/llvm/bin/llvm-symbolizer"
# ruby
PATH=$PATH:/Users/callumhoward/.gem/ruby/2.0.0/bin
# CUDA
export PATH="/Developer/NVIDIA/CUDA-8.0/bin${PATH:+:${PATH}}"
export DYLD_LIBRARY_PATH="/Developer/NVIDIA/CUDA-8.0/lib${DYLD_LIBRARY_PATH:+:${DYLD_LIBRARY_PATH}}"
# cuDNN
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH
# Tensorflow
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib:/usr/local/cuda/extras/CUPTI/lib"
export CUDA_HOME=/usr/local/cuda
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$CUDA_HOME/lib"
export PATH="$CUDA_HOME/bin:$PATH"
# FZF
export FZF_DEFAULT_OPTS='--reverse --color=bg+:0,hl:3,spinner:15,info:11,prompt:7,hl+:3,pointer:6 --bind=ctrl-j:preview-down,ctrl-k:preview-up'
export FZF_PREVIEW_COMMAND='scope {}'
export FZF_DEFAULT_COMMAND=' \
(git ls-tree -r --name-only HEAD || \
fd || \
find . -path "*/\.*" -prune -o -type f -print -o -type l -print | \
sed s/^..//) 2> /dev/null'
# skim
export SKIM_DEFAULT_OPTIONS='--reverse --ansi --color=current_bg:0,matched:3,info:11,spinner:15,cursor:0,prompt:6,selected:1'
# ripgrep
export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/ripgrep.conf"
# yarn
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
# Python
export PATH="/usr/local/opt/python/libexec/bin/:$PATH"
# Fast Node Manager
if command -v fnm > /dev/null 2>&1; then
eval "$(fnm env --log-level=quiet --use-on-cd)"
fi