From d1b481d4de03d57d79e40e0530b1a3a0089a067f Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 27 Aug 2023 18:23:58 +0200 Subject: [PATCH] add profile and zshrc files for darwin and linux --- .zprofile_darwin | 9 +++++++++ dot_zprofile => .zprofile_linux | 0 .zshrc_darwin | 5 +++++ dot_zshrc => .zshrc_linux | 0 dot_zprofile.tmpl | 6 ++++++ dot_zshrc.tmpl | 6 ++++++ 6 files changed, 26 insertions(+) create mode 100644 .zprofile_darwin rename dot_zprofile => .zprofile_linux (100%) create mode 100644 .zshrc_darwin rename dot_zshrc => .zshrc_linux (100%) create mode 100644 dot_zprofile.tmpl create mode 100644 dot_zshrc.tmpl 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 -}} +