-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc
26 lines (20 loc) · 971 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
export EDITOR=vim
export CXX='/data/data/com.termux/files/usr/bin/aarch64-linux-android-g++'
export CC='/data/data/com.termux/files/usr/bin/aarch64-linux-android-gcc'
export GOPATH="${HOME}/src/gopath"
. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash
# Hook direnv into your shell.
eval "$(asdf exec direnv hook bash)"
# A shortcut for asdf managed direnv.
direnv() { asdf exec direnv "$@"; }
# below is not needed after patchelf
#export LD_PRELOAD="${RUBY_BREW}/lib/ruby/gems/2.6.0/gems/bigdecimal-3.0.2/ext/bigdecimal/bigdecimal.so"
#patchelf --add-needed /data/data/com.termux/files/usr/lib/ruby/2.6.0/aarch64-linux-android/bigdecimal.so /data/data/com.termux/files/usr/lib/ruby/2.6.0/aarch64-linux-android/bigdecimal/util.so
export PATH="${PATH}:${HOME}/bin:${GOPATH}/bin"
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# https://ohmyposh.dev/
# load oh-my-posh prompt
eval "$(oh-my-posh --init --shell bash --config ${HOME}/.ohmyposh.json)"