Skip to content

Commit a3b5aed

Browse files
authored
Update .bashrc
1 parent 50293a7 commit a3b5aed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Linux/.bashrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ export -f pack_exe
436436
##Source the bashrc file & reload env
437437
function refreshenv()
438438
{
439+
hash -r &>/dev/null
439440
local BASHRC_FILE="$(realpath "${HOME}/.bashrc" | tr -d '[:space:]')"
440441
if [[ -f "${BASHRC_FILE}" ]]; then
441442
source "${BASHRC_FILE}"

0 commit comments

Comments
 (0)