-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zprofile
44 lines (31 loc) · 1011 Bytes
/
.zprofile
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
#!/usr/bin/env zsh
# Fig pre block. Keep at the top of this file.
[[ -f "$HOME/.fig/shell/zprofile.pre.zsh" ]] && . "$HOME/.fig/shell/zprofile.pre.zsh"
#
# Core
#
export LANG='en_US.UTF-8'
export LC_ALL='en_US.UTF-8'
export EDITOR='nano'
export PAGER='less'
export HOMEBREW_NO_ANALYTICS=1
# Change default ulimit to avoir errors
ulimit -n 1024
# GNU
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
export GOPATH="${HOME}/go"
export GOBIN="${HOME}/.bin"
# Needed to prevent https://gist.github.com/repodevs/a18c7bb42b2ab293155aca889d447f1b
export GPG_TTY=$(tty)
# eliminates duplicates in *paths
typeset -gU cdpath fpath path
# Zsh search path for executable
path=(
/opt/homebrew/{bin,sbin}
/usr/local/{bin,sbin}
$path
)
# Fig post block. Keep at the bottom of this file.
[[ -f "$HOME/.fig/shell/zprofile.post.zsh" ]] && . "$HOME/.fig/shell/zprofile.post.zsh"