-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathenv
More file actions
40 lines (35 loc) · 1.15 KB
/
env
File metadata and controls
40 lines (35 loc) · 1.15 KB
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
# vim: ft=bash
export NERDFONT=1
export ANDROID_HOME=/usr/local/Cellar/android-sdk/
export EZA_CONFIG_DIR=${HOME}/.config/eza
export FZF_DEFAULT_COMMAND='rg --files --ignore-file ~/.adshell/rgignore'
export FZF_DEFAULT_OPTS="\
--layout=reverse \
--info=inline \
--height=90% \
--multi \
--preview '([[ -f {} ]] && (bat --style=numbers --color=always {} || cat {})) || ([[ -d {} ]] && (tree -C {} | less)) || echo {} 2> /dev/null | head -200' \
--prompt='∼ ' \
--bind '?:toggle-preview' \
--bind 'shift-down:preview-down' \
--bind s'hift-up:preview-up' \
--bind pg'dn:preview-page-down' \
--bind pgu'p:preview-page-up' \
--bind 'ctrl-a:select-all' \
--bind 'ctrl-y:execute-silent(echo {+} | pbcopy)' \
--bind 'ctrl-e:execute(echo {+} | xargs -o vim)' \
"
# Add adshell/bin to the PATH
export PATH=~/.adshell/bin:$PATH
# Add brew sbin to PATH
if type brew > /dev/null 2>&1 || [[ -e /usr/local/bin/brew ]] ; then
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
fi
# Add GOBIN to PATH
if [[ -d $HOME/go/bin ]]; then
export PATH=$PATH:$HOME/go/bin
fi
# Add asdf/bin to the PATH
export PATH=~/.asdf/shims:$PATH
# Add adshell/bin to the PATH
export PATH=~/.adshell/bin:$PATH