![]() ![]() Package installed in virtual environment will not be installed system wide hence it will not be available to all programs which uses system python setup. Package installed in one virtual environment will not be visible in other virtual environment It offers flexibility in isolating multiple python environment and does not interfer with other virtual environment They will install into the site-package directoryīrew install Virtual Environment for python `python3 `, `python3-config `, `pip3 ` etc., respectively, have been installed intoīrew install can install Python packages with Unversioned symlinks `python `, `python-config `, `pip ` etc. In a new Ruby project directory, create a new Gemfile with: like venv of python environmentīundle init Make ls, ll commands colorful This tool will allow you to set up separate environments for your different Ruby projects, so their required gem versions won’t conflict with each other. The first thing you want to do after installing a new Ruby version is to install Bundler. #update all outdated gems sudo gem update # If you're using Bash echo 'export PATH="$HOME/.gem/ruby/2.7.2/bin:$PATH"' > ~/.bash_profile # If you're using Zsh echo 'export PATH="$HOME/.gem/ruby/2.7.2/bin:$PATH"' > ~/.zshrcĮcho 'export PATH="/usr/local/opt/ruby/bin:$PATH"' > ~/.zshrc Upon reopening, it will either pick up again or can be started with p10k configure.Īny configuration from here is subjective, but I have included my configuration steps.# Add rbenv to bash/zsh (.bash_profile/.zshrc) so that it loads every time you open a terminal echo 'if which rbenv > /dev/null then eval "$(rbenv init -)" fi' > ~/.bash_profileĮcho 'if which rbenv > /dev/null then eval "$(rbenv init -)" fi' > ~/.zshrc After the fonts have been installed, it may wish to restart. It is important to allow powerlevel10k to install the recommended Meslo fonts! Refusing will negate all the hard work so far, as the pretty colors/icons/whatever will simply not work (well/at all). This spiritual successor of powerlevel9k has supremely revamped the configuration process, enabling a much smoother setup experience! After installing powerlevel10k and adding the theme to my ~/.zshrc (ie.ZSH_THEME="powerlevel10k/powerlevel10k ), configuration is a breeze! Simply source ~/.zshrc and the configuration editor will appear! My first exposure to Vim plugins was through powerline configuration, so it is no surprise that I choose powerlevel10k. ![]() Selecting a ZSH theme can be an onerous task, given the vast quantity of delectable options available. With this behind us, we can jump immediately to “the beast”! Installing oh-my-ZSH itself is quite painless ( Installation Guide), and cleans up the terminal quite a bit…but we’re just getting started! However, I soon adopted iTerm as my own, and have been enjoying the journey ever since! The only speedbump in the road is configuration specifically, configuring oh-my-ZSH and the dreaded Powerline fonts.Īfter installing iTerm2, the relatively bland interface reminds me why configuration is so vital. My terminal of choice has always been iTerm2 (in a Mac environment), harkening back to my first days as a fledgling developer in an unfamiliar environment (read: copying everyone else’s setup). Replacing Caps Lock with Escape is a must! Think about how often you use both…now go ahead and disable Caps Lock! The adventure begins The final and most dreaded step is selecting and configuring a terminal, as something always seems to go haywire around this point. This is followed shortly by installing Vim and its key bindings everywhere that supports them (VSCode, iTerm, etc), as I have really grown to appreciate the productivity boost this brings. Apple Terminal Open Terminal Preferences Profiles Text, click Change under Font and select MesloLGS NF family. Alternatively, type p10k configure and answer Yes when asked whether to install Meslo Nerd Font. Thankfully Apple makes this extremely easy, with a dedicated path to follow to painlessly remap the keys. iTerm2: Open iTerm2 Preferences Profiles Text and set Font to MesloLGS NF. Caps Lock is the first to go, a perfectly useless function that is infinitely better as an extra Escape key. There are several things I will always do when configuring a new machine. After installing iTerm2, Zsh, Oh-My-Zsh as I explained before you install the. Once upon a time, a developer joined a small company and was given a machine with which to unlock the mighty powers of coding and productivity… Known as “Mac,” this machine promised the world, with only one seeming obstacle…the terrifying beast known as “configuration”! With Powerlevel10k you get fast prompt and up-to-date information. iTerm2: Type p10k configure and answer Yes when asked whether to install Meslo Nerd Font. ![]()
0 Comments
Leave a Reply. |