-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathzshenv
More file actions
69 lines (53 loc) · 1.61 KB
/
zshenv
File metadata and controls
69 lines (53 loc) · 1.61 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
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
SAVEHIST=1000000
HISTFILE=~/.zsh_history
local WORDCHARS='*?_[]~=&;!#$%^(){}<>'
[[ -s ~/.aliases ]] && source ~/.aliases
setopt share_history
setopt hist_expire_dups_first
setopt hist_find_no_dups
setopt ignoreeof # Same as setting IGNOREEOF=10 (Ctrl+d x10 to close shell)
export HISTSIZE=100000
export HISTFILESIZE=100000
export EDITOR="nvim"
export VISUAL="nvim"
export XDG_CONFIG_HOME="$HOME/.config"
export RIPGREP_CONFIG_PATH="$XDG_CONFIG_HOME/.ripgreprc"
export PATH="$HOME/.local/bin:$PATH"
# gpg tty, passphrases prob
export GPG_TTY=$(tty)
# Work
# export PYTHONPATH=.
export DJANGO_SETTINGS_MODULE=config.settings.base_settings
export sde_admin_repo_path="$HOME/dev/sde-admin/"
export sde_build_repo_path="$HOME/dev/sde-build/"
export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH"
# Yava
export M2_HOME=/opt/maven
export MAVEN_HOME=/opt/maven
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
export PATH="${M2_HOME}/bin:${PATH}"
# Go
export GOPATH="$HOME/go"
export PATH="$GOPATH/bin:$PATH"
# Rust
export PATH="$HOME/.cargo/env:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
# Python
export VIRTUALENVWRAPPER_PYTHON=$(which python3)
# Adding wsl-open as a browser for Windows
if [[ $(uname -r) =~ WSL2$ ]]; then
if [[ -z $BROWSER ]]; then
export BROWSER="wsl-open"
fi
fi
# big brother
export DOTNET_CLI_TELEMETRY_OPTOUT=true
export NEXT_TELEMETRY_DISABLED=1
# Fix GitGutter CursorHold in vim
export VIM_GITGUTTER_TEST=1
# prevent the dreaded pip install -r requirements.txt in system python
# use gpip() instead
export PIP_REQUIRE_VIRTUALENV=true
# postgres local db
export PGUSER=sdlc
export PGPASSWORD=sdlc