Discussion

Ask HN: What are some terminal tricks you wish you knew sooner?

Here are mine:

1. create aliases for everything in ~/.bashrc to speed things up

2. window stacking / multi-tasking in iTerm with cmd + (shift) + d

3. turn on vi(m) syntax highlighting by adding :syntax on to ~/.vimrc

4. use jq to format and colorize json files / streams with the pipe | operator (so useful!)

5. Generate a custom command prompt at http://bashrcgenerator.com/ (just for fun)

I really like this topic, so made a video going into more detail on mine, if anyone's interested https://youtu.be/okGN2RXFw_U

66 points aj-4 7 years ago 35 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton