Lines Matching refs:RC
51 RC="${HOME}/.tcshrc"
53 RC="${HOME}/.cshrc"
56 if [ -f "${RC}" ]; then
57 cp -fp "${RC}" "${RC}.pysave"
59 echo "" >> "${RC}"
60 echo "# Setting PATH for Python ${PYVER}" >> "${RC}"
61 echo "# The original version is saved in .cshrc.pysave" >> "${RC}"
62 echo "set path=(${PYTHON_ROOT}/bin "'$path'")" >> "${RC}"
64 chown "${USER}" "${RC}"
81 RC="${CONFIG_DIR}/config.fish"
83 if [ -f "${RC}" ]; then
84 cp -fp "${RC}" "${RC}.pysave"
86 echo "" >> "${RC}"
87 echo "# Setting PATH for Python ${PYVER}" >> "${RC}"
88 echo "# The original version is saved in ${RC}.pysave" >> "${RC}"
89 echo "set -x PATH \"${PYTHON_ROOT}/bin\" \"\$PATH\"" >> "${RC}"
91 chown "${USER}" "${RC}"