Simplify zsh config file structure
This commit is contained in:
parent
7bdf7ab1cd
commit
71c5944bf8
19 changed files with 31 additions and 21 deletions
9
.config/zsh/6-newest-files
Normal file
9
.config/zsh/6-newest-files
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# show newest files
|
||||
# http://www.commandlinefu.com/commands/view/9015/find-the-most-recently-changed-files-recursively
|
||||
newest (){
|
||||
find . -type f -printf '%TY-%Tm-%Td %TT %p\n' | \
|
||||
grep -v cache | \
|
||||
grep -v '.hg' | grep -v '.git' | \
|
||||
sort -r | \
|
||||
less
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue