-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
43 lines (35 loc) · 799 Bytes
/
.bashrc
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
### .NET Core
export PATH="$PATH:/usr/local/share/dotnet/dotnet"
export PATH="$PATH:${HOME}/.dotnet/tools"
### anyenv
export DISABLE_ANYENV=
if [[ -z ${DISABLE_ANYENV:+x} ]]; then
eval "$(anyenv init -)"
else
echo "disable anyenv!"
fi
### github.com/x-motemen/ghq
export GHQ_ROOT="${HOME}/repos"
### Local Binaries
### (e.g. JetBrains IDEs, git subcommands)
export PATH="${PATH}:${HOME}/.local/bin"
### GnuPG
export GPG_TTY=$(tty)
### pnpm
export PNPM_HOME="${HOME}/.local/share/pnpm"
export PATH="${PNPM_HOME}:${PATH}"
### source ~/.zshrc.d
RC_FILE_DIR="${HOME}/.zshrc.d"
if [[ -e $RC_FILE_DIR ]]; then
for RC_FILE in ${RC_FILE_DIR}/*.sh; do
source $RC_FILE
done
fi
### default editor
export EDITOR=vim
### fish
case $- in
*i*)
exec fish
;;
esac