-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_shared.sh
38 lines (28 loc) · 885 Bytes
/
dot_shared.sh
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
# Common utilities and configurations (shared between zsh and bash)
# fnm
if [ -x $HOME/.fnm ]; then
export PATH=$HOME/.fnm:$PATH
eval "`fnm env`"
fi
# Python (user installation directory)
export PATH=$HOME/.local/bin:$PATH
# Go
export PATH=$PATH:/usr/local/go/bin
# Set Vim to be the default editor
export EDITOR=vim
# Set up Linuxbrew
if [ -x /home/linuxbrew/.linuxbrew/bin/brew ]; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
# Enable color support of ls and grep
if [ -x /usr/bin/dircolors ]; then
test -r $HOME/.dircolors && eval "$(dircolors -b $HOME/.dircolors)" || eval "$(dircolors -b)"
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'
# Aliases
source $HOME/.aliases.sh
# WSL-related utilities
source $HOME/.wsl.sh