Файловый менеджер - Редактировать - /home/lakoyani/lakoyani.com.fj/profile.d.tar
Назад
colorgrep.sh 0000644 00000000311 14711107114 0007064 0 ustar 00 # color-grep initialization /usr/libexec/grepconf.sh -c || return alias grep='grep --color=auto' 2>/dev/null alias egrep='egrep --color=auto' 2>/dev/null alias fgrep='fgrep --color=auto' 2>/dev/null vim.csh 0000644 00000000151 14711107114 0006030 0 ustar 00 if ( -x /usr/bin/id ) then if ( "`/usr/bin/id -u`" > 200 ) then alias vi vim endif endif bash_completion.sh 0000644 00000001224 14711107114 0010242 0 ustar 00 # Check for interactive bash and that we haven't already been sourced. [ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$BASH_COMPLETION_COMPAT_DIR" ] && return # Check for recent enough version of bash. bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.} if [ $bmajor -gt 4 ] || [ $bmajor -eq 4 -a $bminor -ge 1 ]; then [ -r "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" ] && \ . "${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion" if shopt -q progcomp && [ -r /usr/share/bash-completion/bash_completion ]; then # Source completion code. . /usr/share/bash-completion/bash_completion fi fi unset bash bmajor bminor colorls.csh 0000644 00000003315 14711107114 0006717 0 ustar 00 # skip everything for non-interactive shells if (! $?prompt) exit # color-ls initialization if ( $?USER_LS_COLORS ) then if ( "$USER_LS_COLORS" != "" ) then #when USER_LS_COLORS defined do not override user #specified LS_COLORS and use them goto finish endif endif alias ll 'ls -l' alias l. 'ls -d .*' set COLORS=/etc/DIR_COLORS if ($?TERM) then if ( -e "/etc/DIR_COLORS.256color" ) then if ( "`/usr/bin/tput colors`" == "256" ) then set COLORS=/etc/DIR_COLORS.256color endif endif if ( -e "/etc/DIR_COLORS.$TERM" ) then set COLORS="/etc/DIR_COLORS.$TERM" endif endif if ( -f ~/.dircolors ) set COLORS=~/.dircolors if ( -f ~/.dir_colors ) set COLORS=~/.dir_colors if ($?TERM) then if ( -f ~/.dircolors."$TERM" ) set COLORS=~/.dircolors."$TERM" if ( -f ~/.dir_colors."$TERM" ) set COLORS=~/.dir_colors."$TERM" endif set INCLUDE="`/usr/bin/cat "$COLORS" | /usr/bin/grep '^INCLUDE' | /usr/bin/cut -d ' ' -f2-`" if ( ! -e "$COLORS" ) exit set _tmp="`/usr/bin/mktemp .colorlsXXX -q --tmpdir=/tmp`" #if mktemp fails, exit when include was active, otherwise use $COLORS file if ( "$_tmp" == '' ) then if ( "$INCLUDE" == '' ) then eval "`/usr/bin/dircolors -c $COLORS`" endif goto cleanup endif if ( "$INCLUDE" != '' ) /usr/bin/cat "$INCLUDE" >> $_tmp /usr/bin/grep -v '^INCLUDE' "$COLORS" >> $_tmp eval "`/usr/bin/dircolors -c $_tmp`" /usr/bin/rm -f $_tmp if ( "$LS_COLORS" == '' ) exit cleanup: set color_none=`/usr/bin/sed -n '/^COLOR.*none/Ip' < $COLORS` if ( "$color_none" != '' ) then unset color_none exit endif unset color_none unset _tmp unset INCLUDE unset COLORS finish: alias ll 'ls -l --color=auto' alias l. 'ls -d .* --color=auto' alias ls 'ls --color=auto' colorls.sh 0000644 00000003106 14711107114 0006552 0 ustar 00 # color-ls initialization # Skip all for noninteractive shells. [ ! -t 0 ] && return #when USER_LS_COLORS defined do not override user LS_COLORS, but use them. if [ -z "$USER_LS_COLORS" ]; then alias ll='ls -l' 2>/dev/null alias l.='ls -d .*' 2>/dev/null INCLUDE= COLORS= for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" \ "$HOME/.dir_colors" "$HOME/.dircolors"; do [ -e "$colors" ] && COLORS="$colors" && \ INCLUDE="`/usr/bin/cat "$COLORS" | /usr/bin/grep '^INCLUDE' | /usr/bin/cut -d ' ' -f2-`" && \ break done [ -z "$COLORS" ] && [ -e "/etc/DIR_COLORS.$TERM" ] && \ COLORS="/etc/DIR_COLORS.$TERM" [ -z "$COLORS" ] && [ -e "/etc/DIR_COLORS.256color" ] && \ [ "x`/usr/bin/tty -s && /usr/bin/tput colors 2>/dev/null`" = "x256" ] && \ COLORS="/etc/DIR_COLORS.256color" [ -z "$COLORS" ] && [ -e "/etc/DIR_COLORS" ] && \ COLORS="/etc/DIR_COLORS" # Existence of $COLORS already checked above. [ -n "$COLORS" ] || return if [ -e "$INCLUDE" ]; then TMP="`/usr/bin/mktemp .colorlsXXX -q --tmpdir=/tmp`" [ -z "$TMP" ] && return /usr/bin/cat "$INCLUDE" >> $TMP /usr/bin/grep -v '^INCLUDE' "$COLORS" >> $TMP eval "`/usr/bin/dircolors --sh $TMP 2>/dev/null`" /usr/bin/rm -f $TMP else eval "`/usr/bin/dircolors --sh $COLORS 2>/dev/null`" fi [ -z "$LS_COLORS" ] && return /usr/bin/grep -qi "^COLOR.*none" $COLORS >/dev/null 2>/dev/null && return fi unset TMP COLORS INCLUDE alias ll='ls -l --color=auto' 2>/dev/null alias l.='ls -d .* --color=auto' 2>/dev/null alias ls='ls --color=auto' 2>/dev/null cpanel-php-composer.sh 0000755 00000001044 14711107114 0010753 0 ustar 00 # This script amends the PATH variable for interactive shells so # that the composer command can be run. ################################################################# ## NOTE: If you want to disable this file, comment out or ## ## delete the 'export' line below. If you simply delete the ## ## file itself, then it will come back the next time that you ## ## update cPanel & WHM. ## ################################################################# export PATH="$PATH:/opt/cpanel/composer/bin" locallib.sh 0000755 00000000440 14711107114 0006657 0 ustar 00 #cPanel Added local::lib -- BEGIN LOCALLIBUSER=$USER if [ -e "/usr/bin/whoami" ]; then LOCALLIBUSER="$(/usr/bin/whoami)" fi if [ "$LOCALLIBUSER" != "root" -a -e "/var/cpanel/users/$LOCALLIBUSER" ]; then eval $(perl -Mlocal::lib >/dev/null 2>&1) fi #cPanel Added local::lib -- END sh.local 0000644 00000000121 14711107114 0006161 0 ustar 00 #Add any required envvar overrides to this file, it is sourced from /etc/profile colorgrep.csh 0000644 00000000304 14711107114 0007231 0 ustar 00 # color-grep initialization /usr/libexec/grepconf.sh -c if ( $status == 1 ) then exit endif alias grep 'grep --color=auto' alias egrep 'egrep --color=auto' alias fgrep 'fgrep --color=auto' which2.sh 0000644 00000000251 14711107114 0006257 0 ustar 00 # Initialization script for bash and sh # export AFS if you are in AFS environment alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' mc.csh 0000755 00000000061 14711107114 0005637 0 ustar 00 alias mc 'source /usr/libexec/mc/mc-wrapper.csh' 256term.sh 0000644 00000001511 14711107114 0006277 0 ustar 00 # 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 256term.csh 0000644 00000001403 14711107114 0006442 0 ustar 00 # Enable 256 color capabilities for appropriate terminals # Set this variable in your local shell config if you want remote # xterms connecting to this system, to be sent 256 colors. # This can be done in /etc/csh.cshrc, or in an earlier profile.d script. # SEND_256_COLORS_TO_REMOTE=1 # Terminals with any of the following set, support 256 colors (and are local) set local256="$?COLORTERM$?XTERM_VERSION$?ROXTERM_ID$?KONSOLE_DBUS_SESSION" if ($?TERM && ($local256 || $?SEND_256_COLORS_TO_REMOTE)) then switch ($TERM) case 'xterm': case 'screen': case 'Eterm': setenv TERM "$TERM-256color" endsw if ($?TERMCAP && ($TERM == "screen-256color")) then setenv TERMCAP `echo $TERMCAP | sed -e 's/Co#8/Co#256/g'` endif endif unset local256 lang.csh 0000644 00000003252 14711107114 0006163 0 ustar 00 # /etc/profile.d/lang.csh - set i18n stuff set sourced=0 if ($?LANG) then set saved_lang=$LANG if ( -f "$HOME/.i18n" ) then eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' "$HOME/.i18n"` set sourced=1 endif setenv LANG $saved_lang unset saved_lang else foreach file (/etc/locale.conf "$HOME/.i18n") if ( -f $file ) then eval `sed -ne 's|^[[:blank:]]*\([^#=]\{1,\}\)=\([^=]*\)|setenv \1 \2;|p' $file` set sourced=1 endif end endif if ($sourced == 1) then if ($?LC_ALL && $?LANG) then if ($LC_ALL == $LANG) then unsetenv LC_ALL endif endif set consoletype=`/sbin/consoletype stdout` if ($?LANG) then switch ($LANG) case *.utf8*: case *.UTF-8*: if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( "$consoletype" == "vt" ) then switch ($LANG) case en_IN*: breaksw case ja*: case ko*: case si*: case zh*: case ar*: case fa*: case he*: case *_IN*: setenv LANG en_US.UTF-8 breaksw endsw endif endif endif breaksw case *: if ( $?TERM ) then if ( "$TERM" == "linux" ) then if ( "$consoletype" == "vt" ) then switch ($LANG) case en_IN*: breaksw case ja*: case ko*: case si*: case zh*: case ar*: case fa*: case he*: case *_IN*: setenv LANG en_US breaksw endsw endif endif endif breaksw endsw endif unsetenv SYSFONTACM unsetenv SYSFONT unsetenv consoletype endif less.csh 0000644 00000000173 14711107114 0006207 0 ustar 00 # less initialization script (csh) if ( -x /usr/bin/lesspipe.sh ) then setenv LESSOPEN "||/usr/bin/lesspipe.sh %s" endif mc.sh 0000755 00000000231 14711107114 0005473 0 ustar 00 # Don't define aliases in plain Bourne shell [ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ] || return 0 alias mc='. /usr/libexec/mc/mc-wrapper.sh' vim.sh 0000644 00000000415 14711107114 0005670 0 ustar 00 if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then [ -x /usr/bin/id ] || return ID=`/usr/bin/id -u` [ -n "$ID" -a "$ID" -le 200 ] && return # for bash and zsh, only if no alias is already set alias vi >/dev/null 2>&1 || alias vi=vim fi cpanel-user-commands.sh 0000644 00000000570 14711107114 0011114 0 ustar 00 #cPanel Added User Commands -- BEGIN # Insert an entry into the PATH after all of the user's home directory paths. PATH="$(/usr/local/cpanel/3rdparty/bin/perl -e 'print join ":", map { ( ( !/^\Q$ENV{HOME}\E/ && !$seen++ && $_ ne $ARGV[0] ? @ARGV : () ), $_ ) } split /:/, $ENV{PATH};' /usr/local/cpanel/3rdparty/lib/path-bin)" export PATH #cPanel Added User Commands -- END less.sh 0000644 00000000171 14711107114 0006042 0 ustar 00 # less initialization script (sh) [ -x /usr/bin/lesspipe.sh ] && export LESSOPEN="${LESSOPEN-||/usr/bin/lesspipe.sh %s}" lang.sh 0000644 00000005217 14711107114 0006023 0 ustar 00 # /etc/profile.d/lang.sh - set i18n stuff sourced=0 if [ -n "$LANG" ]; then saved_lang="$LANG" [ -f "$HOME/.i18n" ] && . "$HOME/.i18n" && sourced=1 LANG="$saved_lang" unset saved_lang else for langfile in /etc/locale.conf "$HOME/.i18n" ; do [ -f $langfile ] && . $langfile && sourced=1 done fi if [ "$sourced" = 1 ]; then [ -n "$LANG" ] && export LANG || unset LANG [ -n "$LC_ADDRESS" ] && export LC_ADDRESS || unset LC_ADDRESS [ -n "$LC_CTYPE" ] && export LC_CTYPE || unset LC_CTYPE [ -n "$LC_COLLATE" ] && export LC_COLLATE || unset LC_COLLATE [ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION || unset LC_IDENTIFICATION [ -n "$LC_MEASUREMENT" ] && export LC_MEASUREMENT || unset LC_MEASUREMENT [ -n "$LC_MESSAGES" ] && export LC_MESSAGES || unset LC_MESSAGES [ -n "$LC_MONETARY" ] && export LC_MONETARY || unset LC_MONETARY [ -n "$LC_NAME" ] && export LC_NAME || unset LC_NAME [ -n "$LC_NUMERIC" ] && export LC_NUMERIC || unset LC_NUMERIC [ -n "$LC_PAPER" ] && export LC_PAPER || unset LC_PAPER [ -n "$LC_TELEPHONE" ] && export LC_TELEPHONE || unset LC_TELEPHONE [ -n "$LC_TIME" ] && export LC_TIME || unset LC_TIME if [ -n "$LC_ALL" ]; then if [ "$LC_ALL" != "$LANG" ]; then export LC_ALL else unset LC_ALL fi else unset LC_ALL fi [ -n "$LANGUAGE" ] && export LANGUAGE || unset LANGUAGE [ -n "$LINGUAS" ] && export LINGUAS || unset LINGUAS [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || unset _XKB_CHARSET consoletype=$CONSOLETYPE if [ -z "$consoletype" ]; then consoletype=$(/sbin/consoletype stdout) fi if [ -n "$LANG" ]; then case $LANG in *.utf8*|*.UTF-8*) if [ "$TERM" = "linux" ]; then if [ "$consoletype" = "vt" ]; then case $LANG in ja*) LANG=en_US.UTF-8 ;; ko*) LANG=en_US.UTF-8 ;; si*) LANG=en_US.UTF-8 ;; zh*) LANG=en_US.UTF-8 ;; ar*) LANG=en_US.UTF-8 ;; fa*) LANG=en_US.UTF-8 ;; he*) LANG=en_US.UTF-8 ;; en_IN*) ;; *_IN*) LANG=en_US.UTF-8 ;; esac fi fi ;; *) if [ "$TERM" = "linux" ]; then if [ "$consoletype" = "vt" ]; then case $LANG in ja*) LANG=en_US ;; ko*) LANG=en_US ;; si*) LANG=en_US ;; zh*) LANG=en_US ;; ar*) LANG=en_US ;; fa*) LANG=en_US ;; he*) LANG=en_US ;; en_IN*) ;; *_IN*) LANG=en_US ;; esac fi fi ;; esac fi unset SYSFONTACM SYSFONT consoletype fi unset sourced unset langfile csh.local 0000644 00000000120 14711107114 0006323 0 ustar 00 #Add any required envvar overrides to this file, is sourced from /etc/csh.login which2.csh 0000644 00000000244 14711107114 0006424 0 ustar 00 # Initialization script for csh # export AFS if you are in AFS environment # alias which 'alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' locallib.csh 0000755 00000000360 14711107114 0007023 0 ustar 00 #cPanel Added local::lib -- BEGIN setenv LOCALLIBUSER $USER if ( -e /usr/bin/whoami ) then setenv LOCALLIBUSER `whoami` endif if ( "$LOCALLIBUSER" != "root" ) then eval $(perl -Mlocal::lib) endif #cPanel Added local::lib -- END bash_timestamps.sh 0000644 00000000105 14711107114 0010254 0 ustar 00 # Enable timestamps in bash history export HISTTIMEFORMAT="%F %T "
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка