mirror of
https://github.com/rwxrob/dot
synced 2024-11-18 15:25:52 +00:00
5 lines
88 B
Bash
Executable File
5 lines
88 B
Bash
Executable File
#!/usr/bin/env bash
|
|
IFS=$'\n'
|
|
f=($(ls -1 --color=never -trd ${1:-.}/*))
|
|
echo "${f[-1]}"
|