Server IP : 184.154.167.98 / Your IP : 3.14.254.103 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/cagefs/etc/ |
Upload File : |
# # /etc/zshrc is sourced in interactive shells. It # should contain commands to set up aliases, functions, # options, key bindings, etc. # ## shell functions #setenv() { export $1=$2 } # csh compatibility # Set prompts PROMPT='[%n@%m]%~%# ' # default prompt #RPROMPT=' %~' # prompt for right side of screen # bindkey -v # vi key bindings # bindkey -e # emacs key bindings bindkey ' ' magic-space # also do history expansion on space # Provide pathmunge for /etc/profile.d scripts pathmunge() { if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)" ; then if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi fi } _src_etc_profile_d() { # Make the *.sh things happier, and have possible ~/.zshenv options like # NOMATCH ignored. emulate -L ksh # from bashrc, with zsh fixes if [[ ! -o login ]]; then # We're not a login shell for i in /etc/profile.d/*.sh; do if [ -r "$i" ]; then . $i fi done unset i fi } _src_etc_profile_d unset -f pathmunge _src_etc_profile_d