Overblog Tous les blogs Top blogs Emploi, Enseignement & Etudes Tous les blogs Emploi, Enseignement & Etudes
Editer l'article Suivre ce blog Administration + Créer mon blog
MENU
http://yyjlc.over-blog.com/

yyjlc.over-blog.com/

Publicité

Brew Install Iterm2



Brew

This guide is targeted for those, who wants to have a nice UI in the terminal with the rich features.

Please, raise your issue if something strange happened.I'd like to improve this script, so it could work without any errors during the installation.

Iterm

ITerm2, Homebrew and ZSH Installation on OS X: Installing the Components and Understanding Profile Can Not Find.Profile File OS X is a frequent complain. Historically, profile file needed to be created by the user, so open that linked guide on previous sentence and create it. ITerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.12 or newer. ITerm2 brings the terminal into the modern age with features you never knew you always wanted. 2 days ago  Analytics cookies. We use analytics cookies to understand how you use our websites so we can make them better, e.g. They're used to gather information about the pages you visit and how many clicks you need to accomplish a task.

The Problem

Every time, I've re-installed my operating system, I spend around ~30 minutes to set up my terminal environment again.I bored of it, so I decided to make a list of all actions I doing, when setting it up, alongside with automatic script to do so, and share it with you all.

Screenshots & GIFs

Ultimate retouch 3 5 panel photoshop. They are available here.

Key Features

The script installs things related to terminal environment only:

  • Installs Command Line Tools, Homebrew, iTerm2, Fish, Fisher.
  • Installs Material Design color preset for iTerm2 and patched Meslo Nerd Font.
  • Theme bobthefish, which is based on popular agnoster.
  • Completions for brew, git, ./node_modules/.bin and others…

Installs a lot of useful plugins for Fish Shell:

Brew install oh my zsh
  • bass plugin that makes easy to use scripts written for Bash Shell in Fish Shell.
  • Plugin done that notifies you when the process is finished. i.e. you can run npm install command and switch back into your browser. When npm install is done, you will get OSX notification.
  • fzy plugin adds a hotkey Ctrl+R that allows to show and search in your command history.
  • pj function allows to easily jump between your favorite directories. It installs with configured ~/Library/Projects folder, so you can jump to any of your projects by calling pj .
  • upto function gets you to a parent folder. I.e. you're inside a/b/c/d/e/, calling upto b will navigate you into a/b.
  • …and others, you can find the full list below in manual guide.

How To Setup

You can achieve the same setup as mine, by manually setting up the environment (following the guide below) or automatically by executing the installerinstall.sh.

Automatic Installation

Highly recommended to run the script below under Bash session in default Terminal.app.I can not guarantee proper installation outside of Terminal.app + Bash Shell.

Manual Installation

Command Line Tools

You don't need to install the whole Xcode for it.By executing the command below, you will get only the command line tools without heavy IDE and dependencies it take:

Homebrew

Homebrew is a software manager for MacOS.Its purpose is like the purpose of apt-get on Debian-based systems or yum on Fedora.You can install command line tools from there or even full-featured applications.

iTerm2
Install iTerm 2
  • Download and install iTerm2 (it has better color fidelity than the built in Terminal).

or install it via Homebrew:

Install Color Scheme

Get the iTerm color settings:

Just save it somewhere and open the file(s).The color settings will be imported into iTerm2.Apply them in iTerm through iTerm -> Preferences -> Profiles -> Colors -> Load Presets.You can create a different profile, other than Default if you wish to do so. Icollections 4 8 1 download free.

Install Patched Font

Open the downloaded font and press 'Install Font'.

Set this font in iTerm2 (iTerm -> Preferences -> Profiles -> Text).

  • Regular Font -> 'Change Font'
  • Non-ASCII Font -> 'Change Font'

Restart iTerm2 for all changes to take effect.

Fish Shell
Install Fish Shell

Download and install Fish Shell.

or using Homebrew:

Install Fisher

Fisher is a plugin manager for Fish Shell.

Brew Cask Install Iterm2
Install Themes and Plugins

License

Recently I have been looking for ways to work faster, that's why my goal is to reduce the number of applications in my work environment.

The change from a GUI app like Sublime Text to Vim was a horrible experience, that's why i decide to use Powerline and reduce the impact.

This guide will show you how to get vim and powerline up and running in 6 fairly easy steps. Modo 801 sp4 download free.

We are going to use Homebrew and Vundler for easy installation purpose.

1. Install dependencies Via Hombrew

Pyton:

Vim:

MacVim:

2. Install Powerline via Vundler

If you want to get more information about the Vundler plug-in manager for Vim check the github repo.

3. Setup Powerline font

One of the more stressful things about setting up powerline is to make it look the way it should. On OSX you have to use prepatched fonts. What I would suggest is to install the font you like via FontBook app that came with Mac OSX system.

you can get the prepatched fonts from powerline-fonts

4. Set .vimrc configuration for Powerline
5. Set configuration for MacVim

You'll need to edit your .vimrc and add the following code for GUI.

6. iTerm2 setup

Finally It's important to change the non-ASCII font for a prepatched one to get powerline working.





Publicité
Partager cet article
Repost0
Pour être informé des derniers articles, inscrivez vous :
Commenter cet article