-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
56 lines (42 loc) · 1.5 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
#!/bin/bash
export PATH="$PATH:/usr/textbin"
export PATH="$PATH:~/Library/Python/3.9/bin"
export PATH="/usr/local/sbin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export HISTCONTROL=erasedups
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
export HOMEBREW_NO_INSTALL_CLEANUP=false
## Docker for m1 stuff
export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0
export DOCKER_DEFAULT_PLATFORM=linux/amd64
## THIS IS FOR GHCI, the interpreter of Haskell
export ghci="TERM=dumb ghci"
if [ -f /usr/libexec/java_home ]; then
JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
export JAVA_HOME
fi
if [ "$(uname)" == "Darwin" ]; then
export BASH_SILENCE_DEPRECATION_WARNING=1
fi
printf '\033[8;25;100t'
if [ -f ~/.bashrc ]; then
# shellcheck source=./.bashrc
source ~/.bashrc
fi
ls -l
if [ "$(uname)" == "Darwin" ]; then
(find ~ -name ".DS_Store" -delete &>/dev/null &)
fi
# opam configuration
test -r /Users/patricklafontaine/.opam/opam-init/init.sh && . /Users/patricklafontaine/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
eval "$(/opt/homebrew/bin/brew shellenv)"
export PATH="/opt/homebrew/opt/ghc@9/bin:$PATH"
export PATH="/Users/patricklafontaine/.deno/bin:$PATH"
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
eval "$(starship init bash)"
. "$HOME/.cargo/env"