~step1: there are a file that call ./zshrc use the commnad bellow cd
then ls -la
if you dont saw it use the command grep ./zshrc
~step2: now we will open the file and write an alias commmand that can open the "VS",vim .zshrc
then write this :
alias code="open -a 'Visual Studio Code'"
and close the vim window :x || wq
NOW IF YOU TRY TO USE CODE COMMAND IT WILL WORK WITH OUT ANY PROBLEM