-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdot_bash_profile.tmpl
32 lines (26 loc) · 1.06 KB
/
dot_bash_profile.tmpl
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
# All platform 共通
{{ if eq .chezmoi.os "linux" -}}
{{ if eq .chezmoi.hostname "TanakaPC" -}}
# Linuxのとき
# >>> JVM installed by coursier >>>
export JAVA_HOME="$HOME/.cache/coursier/arc/https/github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b10.tar.gz/jdk8u292-b10"
export PATH="$PATH:$HOME/.cache/coursier/arc/https/github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u292b10.tar.gz/jdk8u292-b10/bin"
# <<< JVM installed by coursier <<<
# >>> coursier install directory >>>
export PATH="$PATH:$HOME/.local/share/coursier/bin"
# <<< coursier install directory <<<
source $HOME/.config/broot/launcher/bash/br
{{ end -}}
{{ else if eq .chezmoi.os "darwin" -}}
# macOSのとき
{{ else if eq .chezmoi.os "windows" -}}
# Windowsのとき
# System-wide bashrc file
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
{{ else -}}
#その他のOSのとき
{{ end }}
#[ ! -f "$HOME/.x-cmd.root/X" ] || . "$HOME/.x-cmd.root/X" # boot up x-cmd.
# vim:ft=bash