Projet

Général

Profil

Télécharger (1,31 ko) Statistiques
| Branche: | Tag: | Révision:

univnautes / root / .tcshrc @ 992f60d0

1
set prompt="%{\033[0;1;33m%}[%{\033[0;1;37m%}`cat /etc/version`%{\033[0;1;33m%}]%{\033[0;1;33m%}%B[%{\033[0;1;37m%}%n%{\033[0;1;31m%}@%{\033[0;1;37m%}%M%{\033[0;1;33m%}]%{\033[0;1;32m%}%b%/%{\033[0;1;33m%}%{\033[0;1;36m%}%{\033[0;1;31m%}:%{\033[0;0;0m%} "
2
set autologout="0"
3
set autolist set color set colorcat
4
setenv CLICOLOR "true"
5
setenv LSCOLORS "exfxcxdxbxegedabagacad"
6
if ($term == "xterm" || $term == "vt100" || $term == "vt102" || $term == "vt220" || $term !~ "con*") then
7
	bindkey "\e[2~" overwrite-mode     # Ins
8
	bindkey "\e[3~" delete-char        # Del
9

    
10
	bindkey "\e[1~" beginning-of-line  # Home vt
11
	bindkey "\e[4~" end-of-line        # End vt
12

    
13
	bindkey "\eOH" beginning-of-line   # Home vt220
14
	bindkey "\eOF" end-of-line         # End vt220
15

    
16
	bindkey "\e[H" beginning-of-line   # Home kvt
17
	bindkey "\e[F" end-of-line         # End kvt
18

    
19
	bindkey "\e[7~" beginning-of-line  # Home rxvt/konsole
20
	bindkey "\e[8~" end-of-line        # End rxvt/konsole
21
endif
22

    
23
set http_proxy=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyurl)' /conf/config.xml`
24
if (${http_proxy} != "") then
25
	set http_proxy_port=`/usr/local/bin/xmllint --xpath 'string(//pfsense/system/proxyport)' /conf/config.xml`
26
	if (${http_proxy_port} != "") then
27
		set http_proxy="${http_proxy}:${http_proxy_port}"
28
	endif
29
	setenv HTTP_PROXY ${http_proxy}
30
endif
(5-5/5)