if ( ${uid} == 0 ) set root umask 22 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin) set mail = /home/$USER/Maildir set prompt = "%{%}%T%{%}:%{%}%U%n@%m%{%}%u:%{%}%B%~%b%{%}%#%{%} " set history = 100 set savehist = 300 set histfile = "$HOME/.history" set histdup = all set savedirs = 50 set killring = 50 set killdup = all set correct = all set listjobs = long set echo_style = both set symlinks = chase set inputmode = insert set matchbeep = never set listflags = 'A' set who = "%n(`whoami`) has %a %l from %M" set prompt3 = "POPRAWIC NA \'%R?\' [Yes|No|Edit]: " set color set filec set rmstar set dunique set autolist set ellipsis set dextract set addsuffix set noclobber set autoexpand set autocorrect set pushdsilent set pushdtohome set printexitvalue set color_name = '%{^[[ color_code m%}' set rgb_restore = '%{^[[00m%}' set rgb_black = '%{^[[00;30m%}' set rgb_firebrick='%{^[[00;31m%}' set rgb_red = '%{^[[01;31m%}' set rgb_forest = '%{^[[00;32m%}' set rgb_green = '%{^[[01;32m%}' set rgb_brown = '%{^[[00;33m%}' set rgb_yellow = '%{^[[01;33m%}' set rgb_navy = '%{^[[00;34m%}' set rgb_blue = '%{^[[01;34m%}' set rgb_purple = '%{^[[00;35m%}' set rgb_magenta = '%{^[[01;35m%}' set rgb_cadet = '%{^[[00;36m%}' set rgb_cyan = '%{^[[01;36m%}' set rgb_gray = '%{^[[00;37m%}' set rgb_white = '%{^[[01;37m%}' set nobeep set autocorrect set rmstar set inputmode = insert set notify set noclobber set bell_style = none set nobeep set b off set time=(8 "User mode (CPU seconds) : %Us\ Kernel mode (CPU seconds) : %Ss\ Total time : %Es\ CPU utilisation : %P") unset autologout unset visiblebell unsetenv HPATH setenv EDITOR vim setenv VISUAL "${EDITOR}" setenv PAGER less setenv BLOCKSIZE K setenv TERM linux setenv LC_ALL pl_PL.UTF-8 setenv LS_COLORS 'no=00:fi=00:di=01;34:ln=01;35:pi=01;34:so=01;34:bd=01;34: \ cd=01;34:or=01;35:mi=01;35:ex=01;32:*.tar=01;31:*.gz=01;31: \ *.tgz=01;31:*.arj=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31: \ *.Z=01;31:*.bz2=01;31:*.rpm=01;31:*.sit=01;31:*.sitx=01;31: \ *.jar=01;31:*.sea=01;31:*.rar=01;31:*.zoo=01;31:*.uu=01;31: \ *.uue=01;31:*.yenc=01;31:*.hqx=01;31:*.lha=01;31:*.cab=01;31: \ *.7z=01;31:*.arc=01;31:*.jpg=01;33:*.jpeg=01;33:*.png=01;33: \ *.gif=01;33:*.bmp=01;33:*.tif=01;33:*.tiff=01;33:*.psd=01;33: \ *.pdd=01;33:*.eps=01;33:*.tga=01;33:*.pgm=01;33:*.psp=01;33: \ *.pic=01;33:*.ps2=01;33:*.dcs=01;33:*.iff=01;33:*.pct=01;33: \ *.pcx=01;33:*.pxr=01;33:*.sct=01;33:*.stn=01;33:*.xbm=01;33: \ *.xpm=01;33:*.mpg=01;35:*.mpeg=01;35:*.mp2=01;35:*.avi=01;35: \ *.mov=01;35:*.qt=01;35:*.divx=01;35:*.asf=01;35:*.wmv=01;35: \ *.wm=01;35:*.wma=01;35:*.cda=01;35:*.ogg=01;35:*.mp3=01;35: \ *.m4a=01;35:*.m4p=01;35:*.mp4=01;35:*.wav=01;35:*.au=01;35: \ *.mid=01;35:*.midi=01;35:*.aif=01;35:*.aiff=01;35:*.ra=01;35: \ *.ram=01;35:*.rm=01;35:*.rv=01;35:*.aac=01;35:*.rmi=01;35' alias wystaw '/usr/bin/scp \!* regis@jakis_remote_adres:public_html/' alias p '${PAGER}' alias e '${EDITOR}' alias ls 'ls -G' alias la 'ls -aG' alias ll 'ls -lAG' alias j 'jobs -l' alias .. 'cd ..' alias - 'cd -' alias c 'clear' alias h 'history' alias mflop 'mount /dev/fd0 /mnt/floppy' alias umflop 'umount /mnt/floppy' alias mdvd 'mount -t iso9660 -o ro /dev/dvd /mnt/dvd' alias umdvd 'umount /mnt/dvd' alias miso "mount -t iso9660 -o ro,loop '\!*' /mnt/iso" alias umiso 'umount /mnt/iso' alias f "find . -name '\!*' -print" alias logz 'clear; exec tail -n30 -f /var/log/messages' alias rot13 "perl -pe 'tr/a-zA-Z/n-za-mN-ZA-M/'" alias natowania "ipnat -l|egrep 'MAP|RDR'|awk '{print $ 2}'|sort|uniq -c|sort -r|head -10" alias trace "ntraceroute -A -O" alias dr screen -dr complete find \ 'n/-anewer/f/' \ 'n/-cnewer/f/' \ 'n/-group/g/' \ 'n/-ilname/f/' \ 'n/-iname/f/' \ 'n/-ipath/f/' \ 'n/-iregex/f/' \ 'n/-lname/f/' \ 'n/-name/f/' \ 'n/-newer/f/' \ 'n/-path/f/' \ 'n/-regex/f/' \ 'n/-type/(b c d p f l s D)/' \ 'n/-user/u/' \ 'n/-xtype/(b c d p f l s D)/' \ 'n/-exec/c/' \ 'n/-fls/f/' \ 'n/-fprint/f/' \ 'n/-fprint0/f/' \ 'n/-fprintf/f/' \ 'n/-ok/c/' \ 'c/--/(help version)/' \ 'c/-/(daystart depth follow help maxdepth mindepth mount noleaf version xdev amin anewer atime cmin cnewer ctime empty false fstype gid group ilname iname inum ipath iregex links lname mmin mtime name newer nouser nogroup path perm regex size true type uid used user xtype exec fls fprint fprint0 fprintf ok print print0 printf prune ls)/' \ 'n/-fstype/(4.2 4.3 adfs affs autofs bdev coda coherent cramfs devpts efs ext ext2 ext3 hfs hpfs iso9660 jfs mfs minix msdos ncpfs nfs ntfs pipefs proc qnx4 ramfs reiserfs romfs rootfs S51K S52K shm smbfs sockfs sysv tmp tmpfs udf ufs umsdos usbfs usbdevfs vfat xenix xfs xiafs)/' \ 'p/*/d/' complete ifconfig 'p@1@`ifconfig -l`@' complete bzip2 'n/-9/f:^*.bz2/' 'n/-d/f:*.bz2/' complete {{,z}cat,pico,nano,vi,{,{,r}g,e,r}vi{m,ew},vimdiff,elvis,emacs,{,r}ed,e{,x},joe,jstar,jmacs,rjoe,jpico,{,z}less,{,z}more,p{,g}} 'p/*/f/' complete {man,where{,is},which,whatis,sudo,info,apropos} 'p/*/c/' complete kill 'c/-/S/' 'n/-s/S/' 'c/%/j/' 'p/*/(%)/' complete {{,un}setenv,printenv,env} 'p/*/e/' complete {fg,bg,stop} 'c/%/j/' 'p/*/(%)/' complete {,un}alias 'p/*/c/' 'p/*/a/' complete {cd,pushd,{ch,mk,rm}dir} 'p/*/d/' complete {finger,pinky,groups,id} 'p/*/u/' complete {,un}complete 'p/1/X/' complete {,un}set 'p/*/s/' bindkey "^[p" complete-word-back bindkey "^[n" complete-word-fwd bindkey "^[v" expand-variables bindkey "^[i" i-search-fwd bindkey "^[I" i-search-back bindkey "^[o" overwrite-mode bindkey -s '^Xp' '. `echo $path`^X*)^A^Dset path = ( ' # dodawanie do PATH bindkey ^[[Q spell-line # F5 bindkey ^[[R spell-word # F6 bindkey ^[[S insert-last-word # F7 bindkey ^[[T history-search-backward # F8 bindkey ^[[U clear-screen # F9 bindkey -s ^[[V "^Uls -l\n" # F10 cd $HOME setenv LANG pl_PL.UTF-8 setenv LC_CTYPE "pl_PL.UTF-8" setenv LC_NUMERIC "pl_PL.UTF-8" setenv LC_TIME "pl_PL.UTF-8" setenv LC_COLLATE "pl_PL.UTF-8" setenv LC_MONETARY "pl_PL.UTF-8" setenv LC_MESSAGES "pl_PL.UTF-8" setenv LC_ALL pl_PL.UTF-8