From f68000445862607c04701345704eb74e450c9368 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 18 Sep 2025 02:30:32 +0200 Subject: [PATCH] update bash config --- bashrc | 2 +- bashrc.d/cargo | 4 ++++ install.sh | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 bashrc.d/cargo diff --git a/bashrc b/bashrc index 6a48cb1..d295f09 100644 --- a/bashrc +++ b/bashrc @@ -1,3 +1,4 @@ +# vim: set ft=sh: # .bashrc # Source global definitions @@ -23,4 +24,3 @@ if [ -d ~/.bashrc.d ]; then done fi unset rc -. "$HOME/.cargo/env" diff --git a/bashrc.d/cargo b/bashrc.d/cargo new file mode 100644 index 0000000..eae874b --- /dev/null +++ b/bashrc.d/cargo @@ -0,0 +1,4 @@ +# vim: set ft=sh: +if [ -f "$HOME/.cargo/env" ]; then + . "$HOME/.cargo/env" +fi diff --git a/install.sh b/install.sh index 40d5c23..63c6384 100755 --- a/install.sh +++ b/install.sh @@ -26,6 +26,7 @@ for target in ${DIRECTORIES[@]}; do done ln -sfr $BASE_PATH/bashrc $HOME/.bashrc +ln -sfr $BASE_PATH/bashrc.d $HOME/.bashrc.d ln -sfr $BASE_PATH/tmux.conf $HOME/.tmux.conf ln -sfr $BASE_PATH/Xresources $HOME/.Xresources ln -sfr $BASE_PATH/picom.conf $HOME/.config/picom.conf