-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshenv
57 lines (45 loc) · 1.48 KB
/
zshenv
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
# Include user dirs in PATH
typeset -U path
path=(~/bin ~/.local/bin $path)
# Set vim as default editor
export EDITOR=vim
# Path to dot-files repository
export DOTFILES=~/dot-files
# Use ripgrep with fzf file selection keybinding
if (which rg &> /dev/null); then
export FZF_CTRL_T_COMMAND='rg --files --hidden'
fi
# Colorscheme for fzf
export FZF_DEFAULT_OPTS='
--color=dark
--color=fg:-1,bg:-1,hl:#50fa7b,fg+:-1,bg+:#44475a,hl+:#50fa7b
--color=info:#6272a4,prompt:#f8f8f2,pointer:#f8f8f2,marker:#ffb86c,spinner:#6272a4
'
# syntax highlighting with less
if (which highlight &> /dev/null); then
export LESSOPEN="|highlight --quiet --force --line-numbers --line-length=80 --wrap-no-numbers --out-format=xterm256 --style=xoria256 %s"
export LESS=' -R'
fi
# Python virtualenvwrapper
export WORKON_HOME=~/.virtualenvs/
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
if [ -f ~/.local/bin/virtualenvwrapper.sh ]; then
source ~/.local/bin/virtualenvwrapper.sh
fi
# Go
export GOPATH=~/go
path=(/usr/local/go/bin ~/go/bin $path)
# Rust
path=(~/.cargo/bin $path)
export RUST_SRC_PATH=~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src
# Install Ruby gems to ~/gems
export GEM_HOME=~/gems
path=(~/gems/bin $path)
# # Load LIS environment settings
# if [ -r /etc/bash.bashrc.d/10-lis ] ; then
# source /etc/bash.bashrc.d/10-lis
# fi
# # Support for LIS module system
# if [ -r /nfs/tools/environment_modules/ ] ; then
# source /nfs/tools/environment_modules/3.2.8/init/zsh
# fi