+# Use reverse order of preferred directories:
+# gid(1) dependency on: /opt/sfw/bin
+# EUID="`id -u 2>/dev/null || /usr/xpg4/bin/id -u 2>/dev/null || gid -u`"
+_bash_profile_addpath -f PATH "/sbin"
+_bash_profile_addpath -f PATH "/usr/sbin"
+_bash_profile_addpath -f PATH "/bin"
+_bash_profile_addpath -f PATH "/usr/bin"
+[ $EUID -eq 0 ] && _bash_profile_addpath -f PATH "/usr/local/sbin"
+_bash_profile_addpath -f PATH "/usr/local/bin"
+_bash_profile_addpath -f MANPATH "/usr/X11R6/man"
+_bash_profile_addpath -f MANPATH "/usr/share/man"
+_bash_profile_addpath -f MANPATH "/usr/local/man"
+_bash_profile_addpath -s JAVA_HOME "/usr/java"
+_bash_profile_addpath -s JAVA_HOME "/usr/local/java"
+uname_p="`uname -p 2>/dev/null || uname -m`"
+for family in $HOME;do
+ for arch in $family $family/$uname_p;do
+ # Do not "-f": We use /net !
+ _bash_profile_addpath PATH "$arch/bin"
+ _bash_profile_addpath -s JAVA_HOME "$arch/java"
+ [ $EUID -eq 0 ] && _bash_profile_addpath PATH "$arch/sbin"
+ _bash_profile_addpath LD_LIBRARY_PATH "$arch/lib64"
+ _bash_profile_addpath LD_LIBRARY_PATH "$arch/lib"
+ _bash_profile_addpath MANPATH "$arch/man"
+ done
+ done
+_bash_profile_addpath -f -s CVSROOT ":pserver:pserver:@cvs.jankratochvil.net/cvs" # default
+[ -n "$JAVA_HOME" ] && _bash_profile_addpath PATH "$JAVA_HOME/bin"
+_bash_profile_addpath -s CVSROOT "$HOME/pserver/cvs"
+_bash_profile_addpath -s CVSROOT "$HOME/cvs"
+_bash_profile_addpath -s ANT_HOME "/usr/local/ant"
+
+for _perldir in $(eval "echo $HOME{/share,/lib{,64}}/perl5{/site_perl,}");do
+ _bash_profile_addpath -f PERL5LIB "$_perldir"
+ done
+unset _perldir
+
+unset -f _bash_profile_addpath
+_bash_profile_addpath_fini
+unset -f _bash_profile_addpath_fini
+
+# '2>/dev/null' to prevent: unalias: x: not found
+# It must be run before `function's below as otherwise it would get embedded.
+unalias 2>/dev/null cp # -i
+unalias 2>/dev/null mv # -i
+unalias 2>/dev/null rm # -i
+unalias 2>/dev/null df # -h
+unalias 2>/dev/null du # -h
+unalias 2>/dev/null ls # --color=auto
+unalias 2>/dev/null l. # ls -d .* --color=auto
+unalias 2>/dev/null ll # ls -l --color=auto
+unalias 2>/dev/null grep # grep --color=auto
+
+# Prevent processing of aliases during the parsing of this script file by
+# `eval':
+eval '
+ function grep {(unset grep; ( ulimitme; grep "$@"; ); );}
+ function ls {(unset ls; ( ls -bF "$@"; ); );}
+ function l { ls -lbF "$@"; }
+ if which vim &>/dev/null;then
+ alias vi="vim"
+ else
+ echo >&2 "WARNING: No vim(1)."
+ fi
+ function grepb { grep --binary-files=binary "$@"; }
+ function L { lynx "$@"; }
+ function chown {(unset chown; ( chown --no-dereference "$@"; ); );}
+ function chgrp {(unset chgrp; ( chgrp --no-dereference "$@"; ); );}
+ function hexedit {(unset hexedit; ( hexedit -s "$@"; ); );}
+ function cvs2cl {(unset cvs2cl; ( cvs2cl --window 3600 --separate-header --no-wrap "$@"; ); );}
+ function cvsfiles { cvsutil --files --print "$@"; }
+ function cvsignores { cvsutil --ignores --print "$@"; }
+ function cvsignoresall { cvsutil --ignores --workings --print "$@"; }
+ function cvsignoresrm { cvsutil --ignores --rm "$@"; }
+ function cvsignoresrmall { cvsutil --ignores --workings --rm "$@"; }
+ function cvsignoresallrm { cvsutil --ignores --workings --rm "$@"; }
+ function svnignoresall { svn status |sed -n "s/^[?] //p" "$@"; }
+ function svnignoresallrm { svn status |sed -n "s/^[?] //p"|tr "\n" "\0"|xargs -0 rm -rf "$@"; }
+ function ignores { find -name "*.orig" -o -name ".#*" -o -name "*~" "$@"; }
+ function ignoresrm { ignores "$@" | xargs rm -f; }
+ function ignoresall { ignores -o -name "*.rej" "$@"; }
+ function ignoresallrm { ignoresall "$@" | xargs rm -f; }
+ function disass { objdump -D --target=binary --architecture=i386:x86-64 "$@"; }
+ function disass32 { objdump -D --target=binary --architecture=i386 "$@"; }
+ function cal {(unset cal; ( cal -m "$@"; ); );}
+ function vncreadonly { vncviewer -FullColor -Shared -ViewOnly "$@"; }
+ function diff {(unset diff; ( diff -dup "$@"; ); );}
+ $(: MAKEFLAGS= - "make install" does not expect -j and .spec files do not force -j1.)
+ function rpmbuildlocal { MAKEFLAGS= n rpmbuild --define "_topdir $PWD" --define "_builddir $PWD" --define "_rpmdir $PWD" --define "_sourcedir $PWD" --define "_specdir $PWD" --define "_srcrpmdir $PWD" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" "$@"; rmdir &>/dev/null BUILDROOT; }
+ function gdbn { gdb -nx --command=~/.gdbinit "$@"; }
+ function hd { od -Ax -tx1; }
+ function wget {(unset wget; ( wget --no-check-certificate "$@"; ); );}
+'