# cd /usr/ports/x11/xorg/ && make install clean# cd /usr/ports/x11-wm/xfce4 && make install clean #注意有个 4# cd /usr/ports/x11/xfce4-goodies/ && make install clean# cd /usr/ports/x11-fonts/wqy/ && make install clean# cd /usr/ports/x11/lightdm/ && make install clean# cd /usr/ports/x11/lightdm-gtk-greeter/ && make install clean# cd /usr/ports/devel/xdg-user-dirs/ && make install clean
# cd /usr/ports/x11/xfce4-appmenu-plugin/ && make install clean# cd /usr/ports/x11/gtk-app-menu/ && make install clean# cd /usr/ports/x11/appmenu-registrar/ && make install clean
precmd() a functionwhich is executed just before each promptchpwd() a functionwhich is executed whenever the directory is changed\eescapesequenceforescape (ESC)\aescapesequenceforbell (BEL)%nexpandsto $USERNAME%mexpandstohostnameuptofirst'.'%~expandstodirectory,replacing $HOME with'~'
tcsh:
precmd() a functionwhich is executed just before each promptcwdcmd() a functionwhich is executed whenever the directory is changed%nexpandstousername%mexpandstohostname%~expandstodirectory,replacing $HOME with'~'%#expandsto'>'fornormalusers,'#'forrootusers%{...%}includesastringasaliteralescapesequence