Codebase list kali-defaults / a9f14d1
Surround shell config with delimiters This is so that an external program can modify those variables "safely", without touching anything in the file that is outside of those two delimiters. Arnaud Rebillout 3 years ago
3 changed file(s) with 11 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
128128 sed -i '\|^PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games|d' /etc/environment
129129 fi
130130
131 if dpkg --compare-versions "$2" lt-nl 2021.2.4; then
131 if dpkg --compare-versions "$2" lt-nl 2021.2.5; then
132132 install_config_file /etc/skel/.bashrc force
133133 fi
134134
108108 esac
109109 }
110110
111 # The following block is surrounded by two delimiters.
112 # These delimiters must not be modified. Thanks.
113 # START KALI CONFIG VARIABLES
111114 PROMPT_ALTERNATIVE=twoline
112115 NEWLINE_BEFORE_PROMPT=yes
116 # STOP KALI CONFIG VARIABLES
117
113118 if [ "$color_prompt" = yes ]; then
114119 # override default virtualenv indicator in prompt
115120 VIRTUAL_ENV_DISABLE_PROMPT=1
5555 fi
5656 fi
5757
58 # The following block is surrounded by two delimiters.
59 # These delimiters must not be modified. Thanks.
60 # START KALI CONFIG VARIABLES
5861 PROMPT_ALTERNATIVE=twoline
5962 NEWLINE_BEFORE_PROMPT=yes
63 # STOP KALI CONFIG VARIABLES
64
6065 if [ "$color_prompt" = yes ]; then
6166 # override default virtualenv indicator in prompt
6267 VIRTUAL_ENV_DISABLE_PROMPT=1