etc
/
profile.d
➕ New
📤 Upload
✎ Editing:
256term.sh
← Back
# Enable 256 color capabilities for appropriate terminals # Set this variable in your local shell config (such as ~/.bashrc) # if you want remote xterms connecting to this system, to be sent 256 colors. # This must be set before reading global initialization such as /etc/bashrc. # SEND_256_COLORS_TO_REMOTE=1 # Terminals with any of the following set, support 256 colors (and are local) local256="$COLORTERM$XTERM_VERSION$ROXTERM_ID$KONSOLE_DBUS_SESSION" if [ -n "$local256" ] || [ -n "$SEND_256_COLORS_TO_REMOTE" ]; then case "$TERM" in 'xterm') TERM=xterm-256color;; 'screen') TERM=screen-256color;; 'Eterm') TERM=Eterm-256color;; esac export TERM if [ -n "$TERMCAP" ] && [ "$TERM" = "screen-256color" ]; then TERMCAP=$(echo "$TERMCAP" | sed -e 's/Co#8/Co#256/g') export TERMCAP fi fi unset local256
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel