diff --git a/dot_profile.tmpl b/dot_profile.tmpl index f0bb85f9..c959a638 100644 --- a/dot_profile.tmpl +++ b/dot_profile.tmpl @@ -16,6 +16,10 @@ if [ -n "$BASH_VERSION" ]; then fi fi +if [ -d "$HOME/.cargo/env" ]; then +. "$HOME/.cargo/env" +fi + # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" @@ -26,10 +30,6 @@ if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi -if [ -d "$HOME/.cargo/env" ]; then -. "$HOME/.cargo/env" -fi - if [ -d "/opt/pycharm/bin" ] ; then PATH="/opt/pycharm/bin:$PATH" fi diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 3253709d..9dfed83f 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -100,7 +100,7 @@ source $ZSH/oh-my-zsh.sh # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" -{{ if eq .chezmoi.hostname "NS51U" }} +{{ if eq .chezmoi.hostname "NS51MU" }} alias checkupdates="aptitude search '~U'" {{ else if eq .chezmoi.hostname "t450s" }} alias hx="helix" @@ -126,7 +126,7 @@ if [ "$TERM" = "linux" ]; then clear #for background artifacting fi -{{ if eq .chezmoi.hostname "NS51U" }} +{{ if eq .chezmoi.hostname "NS51MU" }} tere() { local result=$(command tere "$@") [ -n "$result" ] && cd -- "$result"