Solarized Color Scheme for Mac OS X Terminal. ここを参考に Terminal のカラースキームを Solarized にしました。. Mac OS X Terminal 用の Solarized をダウンロードして、ターミナルの環境設定からプロファイルを読み込みます。. Windows 10 can not be made looking as great as Mac OS X iTerm2 but getting something closer looking is visually pleasing. It will consume many hours and days to get the thing completed. For getting the total thing done, we pointing towards the guides which work. The first step is to install Windows Terminal.
- Solarized For Mac Terminal Connectors
- Mac Terminal How To Open
- Solarized For Mac Terminal Software
- Solarized For Mac Terminal Linux
Solarized For Mac Terminal Connectors
-->Powerline provides a customized command prompt experience providing Git status color-coding and prompts.
In this tutorial, you learn how to:
- Set up Powerline in PowerShell
- Set up Powerline in Ubuntu/WSL
- Add missing Powerline glyphs
Prerequisites
Install a Powerline font
Powerline uses glyphs in order to style the prompt. If your font does not include Powerline glyphs, you may see several Unicode replacement characters '▯' throughout your prompt. Though Cascadia Mono does not include Powerline glyphs, you can install Cascadia Code PL or Cascadia Mono PL, which have the Powerline glyphs included. These fonts can be installed from the Cascadia Code GitHub releases page.
Set up Powerline in PowerShell
PowerShell prerequisites
If you don't already have it, install Git for Windows.
Using PowerShell, install Posh-Git and Oh-My-Posh:
Mac Terminal How To Open
Tip
You may need to install NuGet if you don't already have it. Your PowerShell command line will ask if you want to install NuGet if this is the case. Select [Y] Yes. You may also need to approve that you are installing modules from PSGallery, an 'untrusted repository'. Select [Y] Yes.
Posh-Git adds Git status information to your prompt as well as tab-completion for Git commands, parameters, remotes, and branch names. Oh-My-Posh provides theme capabilities for your PowerShell prompt.
If you are using PowerShell Core, install PSReadline:
PSReadline lets you customize the command line editing environment in PowerShell.
Customize your PowerShell prompt
Open your PowerShell profile with
notepad $PROFILE
or the text editor of your choice. This is not your Windows Terminal profile. Your PowerShell profile is a script that runs every time PowerShell starts. Learn more about PowerShell profiles.In your PowerShell profile, add the following to the end of the file:
Now, each new instance starts by importing Posh-Git and Oh-My-Posh, then setting the Paradox theme from Oh-My-Posh. Oh-My-Posh comes with several built-in themes.
Set Cascadia Code PL as fontFace in settings
To set the Cascadia Code PL font for use with PowerLine (after downloading, unzipping, and installing on your system), you will need to open your profile settings in your settings.json file by selecting Settings (Ctrl+,) from your Windows Terminal drop-down menu.
Once your settings.json file opens, find the Windows PowerShell profile and add:
'fontFace': 'Cascadia Code PL'
to designate Cascadia Code PL as the font. This will provide those nice Cascadia Code Powerline glyphs. You should notice the change in your terminal as soon as you select Save in your editor.Your Windows PowerShell profile settings.json file should now look like this:
Tip
If you also use the integrated terminal in Visual Studio Code, you should add
'terminal.integrated.fontFamily': 'Cascadia Code PL'
to your Visual Studio Code settings to make sure Powerline works there, too.Solarized For Mac Terminal Software
Set up Powerline in WSL Ubuntu
WSL Ubuntu prerequisites
Ubuntu has several Powerline options to install from. This tutorial will be using Go and Powerline-Go:
Customize your Ubuntu prompt
Open your
~/.bashrc
file with nano ~/.bashrc
or the text editor of your choice. This is a bash script that runs every time bash starts. Add the following, though beware that GOPATH may already exist:![Solarized For Mac Terminal Solarized For Mac Terminal](/uploads/1/0/7/1/107118139/260185655.png)
Additional resources
Solarized is the most complete Terminal / Editor / IDE color project, covering almost all major operating systems (Mac OS X, Linux, Windows), editor and IDE (Vim, Emacs, Xcode, TextMate, NetBeans, Visual Studio, etc.), terminal (iTerm2, Terminal.app, Putty, etc.). Similar projects have Tomorrow Theme.
Project Home Pagehttps://github.com/altercation/vim-colors-solarized
Solarized Palette
Solarized Palette
To Mac OS X terminal in comfortable using the command line (at least) three tools need to give color, terminal, vim, and ls.
First Download Solarized
Solarized For Mac Terminal Linux
Terminal/iTerm2
Mac OS X comes with Terminal and free iTerm2 are a very good tool, iTerm2 can be cut into multiple windows, more convenient.
If you are using Terminal, then, in the solarized/osx-terminal.app-colors-solarized double-click Solarized Dark ansi.terminal and Solarized Light ansi.terminal two color schemes will be automatically imported into the Terminal.app in Dark and Light.
If you are using iTerm2, then double-click to solarized/iterm2-colors-solarized Solarized Dark.itermcolors and Solarized Light.itermcolors two files can be imported into the configuration file iTerm Lane.
Vim
Set the Terminal and Vim color consistency
ls
OS X is based on FreeBSD, so some tools
OS X is based on FreeBSD, so some tools
ls
, top
, etc. are BSD that, ls not the GNU ls
, so even Terminal/iTerm2 configured color, but on the Mac typing ls
command does not display highlighting can be solved by installing coreutils (brew install coreutils
), but if the color is not picky ls there a simple way is .bash_profile
in output CLICOLOR = 1