zsh fun
I have been playing with zsh a bit today. Here is the outcome:
-
use vim to view man pages; this requires manpageview.vim vim plugin.
function vman() { vim -c ":RMan ${*}" ; }
-
these function store the current directory in X clipboard and then restore the path from the clipboard, which is handy when you want to restore the path in another xterm…
function xpwd () { pwd | xclip -i ; xclip -o ; } function xcd () { cd `xclip -o` ; }