From 07abd061fe540b871777ecd6a1c522252668f9a7 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 19 Feb 2024 19:50:56 +0000 Subject: [PATCH] bash profile: make a template for linux diff --- private_dot_bash_profile => private_dot_bash_profile.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) rename private_dot_bash_profile => private_dot_bash_profile.tmpl (63%) diff --git a/private_dot_bash_profile b/private_dot_bash_profile.tmpl similarity index 63% rename from private_dot_bash_profile rename to private_dot_bash_profile.tmpl index 84e0f49..47705bd 100644 --- a/private_dot_bash_profile +++ b/private_dot_bash_profile.tmpl @@ -1,5 +1,10 @@ - [[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* [[ -s "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" + +export PATH="$PATH:$HOME/bin:$HOME/.local/bin" +{{- if eq .chezmoi.os "linux" }} +export PATH="$PATH:$HOME/.local/share/nvim-linux64/bin" +{{- end }} +