Posted by ixpict on Sat 2 May 14:58
report abuse | download | new post
- # /etc/zsh/zprofile
- [[ -e "/etc/profile.env" ]] && source /etc/profile.env
- #077 would be more secure, but 022 is generally quite realistic
- umask 022
- if [[ "$USER" == root ]]; then
- export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
- else
- export PATH="/usr/local/bin:/usr/bin:/bin:${PATH}"
- fi
- unset ROOTPATH
- #Продвинутое автодополнение
- autoload -U compinit
- compinit
- GREEN="\033[0;32;40m"
- NORMAL="\033[0m"
- RED="\033[0;31;40m"
- BLUE="\033[0;34;40m"
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.