im sorry i forgot to tell you guys to put this in alias: whois { raw whois $1 $1 } this is the whole code i got and works fine