From 4f79459c3d4804b1c69aa1ad21ec0a139017aeae Mon Sep 17 00:00:00 2001 From: Dana Sherson Date: Tue, 5 Dec 2023 00:07:59 +1300 Subject: [PATCH] Github actions debug --- bash_profile | 1 + bashrc | 4 ++++ scripts/ci.sh | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bash_profile b/bash_profile index e1921d7..d0e968b 100755 --- a/bash_profile +++ b/bash_profile @@ -6,6 +6,7 @@ bind '"\e[B":history-search-forward' set +H shopt -s histappend +echo $PATH export PATH="$HOME/.dotfiles/bin:$HOME/.cargo/bin:/usr/local/opt:/usr/local/bin:/usr/local/sbin:/usr/local/lib/node:$PATH" export EDITOR='code --wait' export GUI_EDITOR=$EDITOR diff --git a/bashrc b/bashrc index f16ac56..16366be 100644 --- a/bashrc +++ b/bashrc @@ -1,2 +1,6 @@ +if [[ ! "$PATH" =~ *"$HOME/.dotfiles/bin:"* ]]; then + export PATH="$HOME/.dotfiles/bin:$PATH" +fi + export PS2='\[\033[2K\r$(prompt_base_style)\]> \[\033]0m\]' export PS1='\[\033[2K\r$(prompt_base_style)\]\w\[\033[38;5;205m\]$(prompt_version)\[$(prompt_git_color)\]$(prompt_git)\[\033[38;5;199m\]> \[\033[0m\]' diff --git a/scripts/ci.sh b/scripts/ci.sh index 60039bf..9d95d7f 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -7,7 +7,7 @@ env ~/.dotfiles/scripts/install.sh echo 'ci.sh after install.sh env:' env -. ~/.bash_profile +. ~/.bashrc echo 'ci.sh after source bash_profile env:' env git config --global commit.gpgsign false