IT notes


Edit environment variables: vared PATH Diff command output creating temporary normal files vimdiff =(ls /bin) =(ls /usr/bin) Print path print -l $path Run a command detached &! or &| put it in background and disown the process, exiting the shell will leave it running: sleep 300 &!

brew macos

Homebrew installs the stuff you need that Apple didn’t. For example to update python and avoid many SSL warnings: brew install python To use an updated version of git on mac use: brew install git --whitout-completion To update vim: brew install vim --with-override-system-vi Updating zsh: # check the zsh info brew info zsh # install zsh brew install zsh # add shell path sudo vim /etc/shells # add the following line into the very end of the file(/etc/shells) /usr/local/bin/zsh # change default shell chsh -s /usr/local/bin/zsh Install some extra packages in oneline: