If you have a mac, you already know you need Homebrew and Cask. Pro tip: Always run rm -rf node_modules instead of trash node_modules (you 100% never need to recall your old node_modules). It can be recalled, or otherwise managed. Have you ever felt that rm -rf folder was a little too final? With this simple Trash npm package, you can call trash file/folder to literally move it to your computer's trash instead of deleting it from memory. Follow the Github instructions so you don't have to type in your credentials ever again. idea in mine as well, since my editor of choice generates profiles in every repo. gitignore_global and never have to fuss with. It's super-handy.gitignore_globalĭid you know you can automatically ignore files in every git repo on your computer? Put them in. Under that header, you can put whatever you want, including complicated git commands particular to your organization. Here's mine: # This is Git's per-user configuration file. gitconfig on your computer, but you may not be using git aliases to save yourself some keystrokes. alias j-u='jest -updateSnapshot'Īlias lint-front='docker-compose exec front yarn gulp lint'Īlias back-bash='docker-compose exec back bash' I don't need all of them anymore, but I left them here to show some of the ridiculously long commands that can be aliased to something very short. I love the "insider" language I have with my terminal. While we're here, let's give a huge shout to terminal aliases. bashrc for aliases and other modifications to terminal settings. You can do lots of things with oh my zsh - there's a library of different ways you can style your terminal. It's really handy for recognizing that I have changes hanging out. When I have uncommitted changes, I get a yellow x to the left of my cursor. Here's what my terminal prompt looks like: If you, like me, want to make your terminal work for you, get oh my zsh.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |