Now we can write our conditional tests to make decisions. After your hands become faster in coding, you will need to save some code pieces for later use, so how to save time and effort when writing scripts?
If you like using the command line, but also like some of the features associated with using graphical integrated development environments (IDEs), then this chapter may reveal some new ideas to you. We can create shortcuts for commonly used script elements using the vi or vim text editors from the command line.
In this chapter, we will cover the following topics:
- Abbreviations
- Using code snippets
- Creating snippets using VS Code