diff --git a/.zprofile_darwin b/.zprofile_darwin new file mode 100644 index 0000000..89f7a78 --- /dev/null +++ b/.zprofile_darwin @@ -0,0 +1,9 @@ +export LC_ALL=en_US.UTF-8 + +export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.0.0/bin:$PATH + +# Added by Toolbox App +export PATH="$PATH:/Users/simono41/Library/Application Support/JetBrains/Toolbox/scripts" + + +eval "$(/opt/homebrew/bin/brew shellenv)" diff --git a/dot_zprofile b/.zprofile_linux similarity index 100% rename from dot_zprofile rename to .zprofile_linux diff --git a/.zshrc_darwin b/.zshrc_darwin new file mode 100644 index 0000000..e277ce9 --- /dev/null +++ b/.zshrc_darwin @@ -0,0 +1,5 @@ +source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh +#source /opt/homebrew/share/zsh-autocomplete/zsh-autocomplete.plugin.zsh + +PATH="$PATH:/Applications/WezTerm.app/Contents/MacOS" +export PATH diff --git a/dot_zshrc b/.zshrc_linux similarity index 100% rename from dot_zshrc rename to .zshrc_linux diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl new file mode 100644 index 0000000..8176e72 --- /dev/null +++ b/dot_zprofile.tmpl @@ -0,0 +1,6 @@ +{{- if eq .chezmoi.os "darwin" -}} +{{- include ".zprofile_darwin" -}} +{{- else if eq .chezmoi.os "linux" -}} +{{- include ".zprofile_linux" -}} +{{- end -}} + diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl new file mode 100644 index 0000000..6e62fff --- /dev/null +++ b/dot_zshrc.tmpl @@ -0,0 +1,6 @@ +{{- if eq .chezmoi.os "darwin" -}} +{{- include ".zshrc_darwin" -}} +{{- else if eq .chezmoi.os "linux" -}} +{{- include ".zshrc_linux" -}} +{{- end -}} +