.zshrc
.bashrc
function fd() { # Find file by prefix, ignoring case. By default it searches under current directory. # Usage: `fd myfile` or `fd myfile.txt ~` find ${2:-.} -iname "${1}*" 2>/dev/null }
.zshrc
or.bashrc
: