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
128 | 128 |
sed -i '\|^PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games|d' /etc/environment
|
129 | 129 |
fi
|
130 | 130 |
|
131 | |
if dpkg --compare-versions "$2" lt-nl 2021.2.4; then
|
|
131 |
if dpkg --compare-versions "$2" lt-nl 2021.2.5; then
|
132 | 132 |
install_config_file /etc/skel/.bashrc force
|
133 | 133 |
fi
|
134 | 134 |
|
108 | 108 |
esac
|
109 | 109 |
}
|
110 | 110 |
|
|
111 |
# The following block is surrounded by two delimiters.
|
|
112 |
# These delimiters must not be modified. Thanks.
|
|
113 |
# START KALI CONFIG VARIABLES
|
111 | 114 |
PROMPT_ALTERNATIVE=twoline
|
112 | 115 |
NEWLINE_BEFORE_PROMPT=yes
|
|
116 |
# STOP KALI CONFIG VARIABLES
|
|
117 |
|
113 | 118 |
if [ "$color_prompt" = yes ]; then
|
114 | 119 |
# override default virtualenv indicator in prompt
|
115 | 120 |
VIRTUAL_ENV_DISABLE_PROMPT=1
|
55 | 55 |
fi
|
56 | 56 |
fi
|
57 | 57 |
|
|
58 |
# The following block is surrounded by two delimiters.
|
|
59 |
# These delimiters must not be modified. Thanks.
|
|
60 |
# START KALI CONFIG VARIABLES
|
58 | 61 |
PROMPT_ALTERNATIVE=twoline
|
59 | 62 |
NEWLINE_BEFORE_PROMPT=yes
|
|
63 |
# STOP KALI CONFIG VARIABLES
|
|
64 |
|
60 | 65 |
if [ "$color_prompt" = yes ]; then
|
61 | 66 |
# override default virtualenv indicator in prompt
|
62 | 67 |
VIRTUAL_ENV_DISABLE_PROMPT=1
|