-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_profile
71 lines (50 loc) · 2.04 KB
/
bash_profile
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
70
71
alias ll='ls -alGh --color'
alias mkdir="mkdir -p"
alias grep='grep --color=auto --exclude=*.pyc --exclude-dir=.git --exclude-dir=.bundle --exclude-dir=tmp --exclude-dir=log'
alias vim=nvim
alias pndev-shell='pndev shell'
export FZF_DEFAULT_COMMAND='rg --files' # --follow'
export FZF_DEFAULT_OPTS='-m'
# Use docker as the local user to avoid permission problems
# alias docker-compose="env UID=$(id -u ${whoami}) GID=$(id -g ${whoami}) docker-compose"
# alias docker="env UID=$(id -u ${whoami}) GID=$(id -g ${whoami}) docker"
# prompt
export PS1='\W\[\033[32m\]$(__git_ps1) \[\033[0m\]% '
export EDITOR=nvim
# neovim
export PATH="$HOME/neovim/bin:$PATH"
# node
# export NVM_DIR="$HOME/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# Rust
export PATH="$HOME/.cargo/bin:$PATH"
# export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
# export RLS_ROOT="$HOME/.cargo/bin/rls"
# Spacemacs
export PATH=~"$HOME/.local/bin:$PATH"
# Exercism.io
export PATH="$PATH:$HOME/bin"
# Elixir LSP
export PATH="$PATH:$HOME/projects/elixir-ls/rel"
# Python / Gigalixir client
export PATH="$PATH:$HOME/.local/bin"
export PATH="$HOME/.cargo/bin:$PATH"
# Fly.io
export FLYCTL_INSTALL="$HOME/.fly"
export PATH="$FLYCTL_INSTALL/bin:$PATH"
# RVM
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
# export PATH="$PATH:$HOME/.rvm/bin"
# Nix
if [ -e /home/ben/.nix-profile/etc/profile.d/nix.sh ]; then . /home/ben/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
# ASDF
. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash
eval "$(direnv hook bash)"
export CLOUDSDK_PYTHON=/usr/bin/python2.7
export ERL_AFLAGS="-kernel shell_history enabled"
source ~/projects/roar-for-good/purple_umbrella/purple_priv_env.sh
# eval "$(direnv hook bash)"