-
Notifications
You must be signed in to change notification settings - Fork 0
/
.envvars
37 lines (30 loc) · 1.31 KB
/
.envvars
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
# Locale Settings
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
# Go Paths
export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
# Python Paths
export PYTHONPATH=$HOME
# PATH Variables
export PATH="$PATH:$HOME/bin:$HOME/.bin:$HOME/.local/bin:$HOME/.emacs.d/bin:$HOME/.cargo/bin:$GOPATH/bin:$HOME/.npm_global/bin"
# ignore duplicates in history and increase record
export HISTCONTROL=ignoredups
export HISTSIZE=100000
export SAVEHIST="$HISTSIZE"
# Make Vim default editor
export VISUAL=vim
export EDITOR="$VISUAL"
export PAGER="bat"
export MANPAGER="vimpager"
# fzf variables
export FD_OPTIONS="--follow --hidden --exclude .git --exclude node_modules"
# Change find backend
# Use 'git ls-files' when inside GIT repo, or fd otherwise
export FZF_DEFAULT_COMMAND="git ls-files --cached --others --exclude-standard | fd --type f --type l $FD_OPTIONS"
# Change behavior of fzf dialogue
export FZF_DEFAULT_OPTS="--reverse --border --multi --preview-window=right:nowrap --header '<C-A>: Select All <C-X>: Toggle Wrap <C-Z> Toggle Preview' --bind='ctrl-f:preview-down,ctrl-b:preview-up' --bind='ctrl-a:toggle-all' --bind='ctrl-x:toggle-preview-wrap' --bind='ctrl-z:toggle-preview'"
# Android SDK for react native
export ANDROID_HOME="$HOME/Android/Sdk"
export PATH="$PATH:$ANDROID_HOME/emulator"
export PATH="$PATH:$ANDROID_HOME/platform-tools"