Upload etc/profile with huggingface_hub
Browse files- etc/profile +27 -0
etc/profile
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
|
2 |
+
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
|
3 |
+
|
4 |
+
if [ "${PS1-}" ]; then
|
5 |
+
if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
|
6 |
+
# The file bash.bashrc already sets the default PS1.
|
7 |
+
# PS1='\h:\w\$ '
|
8 |
+
if [ -f /etc/bash.bashrc ]; then
|
9 |
+
. /etc/bash.bashrc
|
10 |
+
fi
|
11 |
+
else
|
12 |
+
if [ "`id -u`" -eq 0 ]; then
|
13 |
+
PS1='# '
|
14 |
+
else
|
15 |
+
PS1='$ '
|
16 |
+
fi
|
17 |
+
fi
|
18 |
+
fi
|
19 |
+
|
20 |
+
if [ -d /etc/profile.d ]; then
|
21 |
+
for i in /etc/profile.d/*.sh; do
|
22 |
+
if [ -r $i ]; then
|
23 |
+
. $i
|
24 |
+
fi
|
25 |
+
done
|
26 |
+
unset i
|
27 |
+
fi
|