Skip to content

Commit 945b588

Browse files
Source API key imediatelly after adding
1 parent e8134eb commit 945b588

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

install/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ else
127127
sed -i "s|export CODEPLAIN_API_KEY=.*|export CODEPLAIN_API_KEY=\"$API_KEY\"|" "$SHELL_RC"
128128
fi
129129
fi
130+
131+
# Source the shell config to make API key available in current session
132+
source "$SHELL_RC"
130133
fi
131134

132135
# ASCII Art Welcome

0 commit comments

Comments
 (0)