18 ms·
My personal favourite alias -g NF='./*(oc[1])' This points to the newest file/dir in my current dir, and it is very easy for me to untar a downloaded file and
by roylez 6y ago
My personal favourite
alias -g NF='./*(oc[1])'
This points to the newest file/dir in my current dir, and it is very easy for me to untar a downloaded file and then cd into it without caring about the name of the file/dir.
tar xf NF; cd NF
- drewp 6y ago'C-x m' pulls the newest file for me: mv ~/Downloads/[C-x m] /tmp or even within files that match what I've typed already: tail /logs/pho[C-x m]