function ls if type -q lsr command lsr $argv else command ls $argv end end