Looking forward to this bash alias

I think that this is going to be awesome:

alias topd="dirs -0"

This means that I can pushd into a new directory and then copy into the old one:

pushd ~/newdir
cp newfile.txt `topd`

2 thoughts on “Looking forward to this bash alias”

Leave a Reply to Alief Kusumaningtyas Cancel reply

Your email address will not be published. Required fields are marked *