Category: Programming

  • 2 Ways to Make and Change into a Directory With One Line of Code

    2 Ways to Make and Change into a Directory With One Line of Code

    Nobody likes typing mkdir /path/to/foobar and then immediately typing cd /path/to/foobar. Let’s just do it all in one go. Here’s 2 ways to create a directory and change into it. Method 1: Create the mkcd function The first method is easy and requires no memorization. Write a quick function! Add this to your .zshrc /…

    Read article →