Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to delete current directory



hi,

 alias lrm='cd ..; rm -rf $OLDPWD'

regards
mc

zzapper wrote:
Hi
Don't know whether this is useful/dangerous.

How to delete current directory (and any files) picking up directory name from $PWD (you also need to move out of directory first)






Messages sorted by: Reverse Date, Date, Thread, Author