Follow this blog

Software engineering, design, and psychology

Tag: mac

2 posts

How to Add Version Control Info to zsh Prompt

MacOS default shell, zsh, comes with a neat version control system integration. It works not only with git, but also with svn, mercurial, and many others

How to View Past Terminal Commands — from Simple to Robust

Suppose you want to re-run a shell command you used ten days ago. It was complex one; you do not remember exact flags and arguments, so it is going take a long time to reconstruct an exact text