Skip to content

aaitbelh/Code-Command-on-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

In this tutorial i show you how to add "Code" to your zsh

~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

Screen Shot 2021-12-19 at 12 00 39 PM

~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

Screen Shot 2021-12-19 at 12 04 07 PM

NOW IF YOU TRY TO USE CODE COMMAND IT WILL WORK WITH OUT ANY PROBLEM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published