Open Docbroke opened 3 years ago
example code
## sort by time in downloads dirs IFS=$'\n' if [[ $PWD == ~/Downloads* ]]; then dirs=($(stat -c '%Y=%n' "${dirs[@]}" | sort -nr | cut -d '=' -f2)) files=($(stat -c '%Y=%n' "${files[@]}" | sort -nr | cut -d '=' -f2)) fi unset IFS list=("${dirs[@]}" "${files[@]}")
pull request https://github.com/dylanaraps/fff/pull/184
example code
pull request https://github.com/dylanaraps/fff/pull/184