![]() ![]() Notice how the command prompt changes, showing the git branch ( source), the git status (files to track, changes to commit and commits to push with ? ! and ⇡), the current python version and the time I spent in python! ( gst stands for git status and gp for git push, these are part of the git plugin in oh-my-zsh). see which version of python and which virtual env is currently active etc.Īnd even more cool stuff! Here is a demo of what you could get in a few minutes:.cool themes! you can colorize your shell to emphasize information, show the current status of a git repo (info like there are files are to be added, modifications not committed or commits not pushed).So if you often go to ~/github/vict0rsch//, then from any location $ z io would get you there! z plugin -> z tracks all the locations you go to and ranks them (roughly) by frequency.using only tab and enter you’ll get around your computer much quicker!.autocompletion on path $ cd d then hitting tab would let you choose between Documents/ and Downloads/.I recomment you switch to zsh in lieu of bash and use the oh-my-zsh extensions to get cool features as: You don’t even know how much struggle you could avoid by using an other shell and extensions! The shell on your Mac is most probably an old bash. To enable it: preferences > profiles > keys > load preset > Natural Text Editing Shell: ZSH Usually option + → sends the cursor at the end of the current word. You should see a buch of files like ermcolors: just select them all and click on open. then chose the cloned folder and its shemes folder. $ git clone wherever you want then in iTerm2 go to preferences > profiles > colors > color preset > import. The iTerm community has designed hundreds! Check them out. Colorsįor instance you don’t have to stick with the few (ugly) default themes. You can find the pros and cons here but basically it’s more customizable. But you could have a better terminal: iTerm2. The vast majority of things here would work for Linux. You can pause a video and copy-paste the texts! The videos of my terminal are recorded with Asciinema. ![]() Feel free to suggest improvements in the comments! You can get my configuration files at the end of this article. This article details my personnal configuration. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |