Let's take a look at some Settings and configurations. Personally, I'm a big fan of Vim, and I try to use it for code editing as long as it's not too complicated. Source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh Then fill in the.zshrc with the following: source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh Not to mention more, syntax highlighting and command hints are definitely needed. The third line, to the right, is the return code of the previous command, whether it is root, an indicator of background jobs, and py's environment. The second line sets the content of the ICONS on the left, including the operating system icon, SSH, directory and Git version management The first line of my Settings represents using the previous nerd-fonts font POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs virtualenv) POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon ssh dir vcs) Powerlevel9k has a lot of Settings on its own, so I'm going to do a little bit of setup here, so you can set it as you want. Then open the ZSH configuration file ~/.zshrc and set the theme to: ZSH_THEME="powerlevel9k/powerlevel9k" git clone ~/.oh-my-zsh/custom/themes/powerlevel9k Note that the ASCII and non-ASCII ICONS should be the same size. The newer homebrew: brew install -cask font-hack-nerd-font Nerd-fonts home page, which also supports ICONS. If you think about the bad fonts on Windows, fonts can affect the look and feel of the entire system, even from a software perspective. Then you can adjust the opacity and blur to get a full frosted glass effect:įonts are very, very important. iterm2 command to hide the folder, or not, depending on your preference. Then use Command + to open configuration and import the colors you just downloaded: mkdir ~/iterm2 cd ~/iterm2Ĭreate a directory, call it whatever you want, and download the package. ITerm2 comes with some color schemes, but that's certainly not enough. Then I switched from bash to ZSH, and after I had installed it, it switched automatically: chsh -s /bin/zsh Instruction installation: sh -c "$(curl -fsSL )" Next, you'll work with me to turn it into a cold end of good service. Then you'll find a very, very plain terminal, basically the same terminal that comes with the MAC, without further ado: You can download Iterm2 from the website or use Homebrew: brew cask install iterm2 Write to ~/.zshrc and source: export HOMEBREW_NO_AUTO_UPDATE=true Turning off automatic updates is really annoying. Installation is simple: /bin/bash -c "$(curl -fsSL )" Export http_proxy = export https_proxy = $http_proxy Copy the code When it comes to Homebrew, there's Google: 90% of our engineers use the software you wrote (Homebrew), but you can't flip a binary tree on a whiteboard during an interview, which sucks.īefore downloading and installing, open ~/.zshrc and write proxy Settings, otherwise download will be very slow, write source. Recently I found that someone stole my article, do not speak martial virtue.For the Big Sur experience, see the previous post. This is also an important reason to update this article. Because Apple gave me a new keyboard and battery and a new system, it worked really well. Update the configuration under BIG SUR.Write down this configuration, save trouble later. So take advantage of the Mid-Autumn festival, reinstall, and these bugs are gone. And then you plug in the docking dock and you get zero Internet speed. Recently, I don't know what happened to the MAC, but I think it is the new product coming, fruit decided to solve the old model's too smooth bug, there are various problems, such as the bottom of the screen will suddenly burst, about 0.1s at a time, or the interface is stuck and so on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |