-
Notifications
You must be signed in to change notification settings - Fork 0
/
envs
28 lines (23 loc) · 908 Bytes
/
envs
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
export LANG="en_US.UTF-8"
export TERM="xterm-256color"
export ZSH="$HOME/.oh-my-zsh"
export FZF_BASE="/opt/homebrew/bin/fzf"
export FZF_PREVIEW_OPTS='--preview "bat --style=numbers --color=always --line-range :500 {}"'
export FZF_DEFAULT_COMMAND="fd --hidden --strip-cwd-prefix --follow --exclude .git"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND --type file"
export FZF_ALT_C_COMMAND="$FZF_DEFAULT_COMMAND --type directory"
# For compilers to find llvm
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
export RIPGREP_CONFIG_PATH="${HOME}/.config/ripgrep/config"
export SSH_KEY_PATH="~/.ssh/id_rsa"
export GIT_TERMINAL_PROMPT=1
export GIT_PAGER="delta"
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export VISUAL='lvim'
export EDITOR='lvim'
fi
export XDG_CONFIG_HOME="$HOME/.config"