1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

fd: Rework command to be more idiomatic

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
Rohit Goswami 2020-12-10 01:50:01 +05:30 committed by GitHub
parent f30daa76ef
commit fbee1ff8bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,9 +34,7 @@ alias -g P="2>&1| pygmentize -l pytb"
alias dud='du -d 1 -h'
alias duf='du -sh *'
if ! which fd >/dev/null 2>%1; then
alias fd='find . -type d -name'
fi
(( $+commands[fd] )) || alias fd='find . -type d -name'
alias ff='find . -type f -name'
alias h='history'