💻 how to make 'cls' work like 'clear' on mac terminal

4 months ago

🎥 In this quick tutorial, learn how to create an alias in your Mac terminal to make cls work just like it does in Windows! If you’re a long-time Windows user switching to Mac, this little trick can save you time and boost your productivity in the terminal. Follow my step-by-step guide to set it up in less than a minute!

🔧 What you’ll learn in this video:
• How to edit your .zshrc file
• How to create an alias for cls to clear your terminal
• Tips for making the terminal feel more familiar as a Windows user

👋 Helpful resources:
• Zsh alias documentation: https://github.com/rothgar/mastering-zsh/blob/master/docs/helpers/aliases.md
• Mac Terminal basics: https://support.apple.com/en-ca/guide/terminal/welcome/mac

⌚ Timestamps:
0:00 Introduction
0:27 How to create an alias for cls
1:24 Test the cls command

🔔 Subscribe for more coding tips like this: https://www.youtube.com/channel/UCSJHlJPakPFzKzMlmI23YpQ
💬 Let me know in the comments if this helped or if you have any questions!

Loading comments...