Skip to content

Commit 58b8374

Browse files
authored
Update .bashrc
1 parent 4644d8c commit 58b8374

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Linux/.bashrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#-------------------------------------------------------------------------------#
1717
#shellcheck disable=SC1090,SC1091,SC2034,SC2142,SC2148
18-
export BASHRC_SRC_VER="v0.0.2"
18+
export BASHRC_SRC_VER="v0.0.2+1"
1919
##Is Interactive?
2020
export BASH_IS_INTERACTIVE="0"
2121
case $- in
@@ -353,7 +353,8 @@ function refreshenv()
353353
export -f refreshenv
354354
function refresh_bashrc()
355355
{
356-
BASHRC_SRC_URL="https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Linux/.bashrc"
356+
local BASHRC_SRC_URL_TMP="https://raw.githubusercontent.com/pkgforge/devscripts/refs/heads/main/Linux/.bashrc?$(gen_random_string_date || mktemp -u)=$(gen_random_string_date || mktemp -u)"
357+
local BASHRC_SRC_URL="$(echo "${BASHRC_SRC_URL_TMP}" | tr -d '[:space:]')"
357358
if [[ "${PASSWORDLESS_SUDO}" == 1 ]]; then
358359
if [[ "${HAS_CURL}" == 1 ]]; then
359360
sudo curl -qfsSL "${BASHRC_SRC_URL}" -H "Cache-Control: no-cache" -H "Pragma: no-cache" -H "Expires: 0" -o "/etc/bash.bashrc" &&\

0 commit comments

Comments
 (0)