All Projects → joel-porquet → zsh-dircolors-solarized

joel-porquet / zsh-dircolors-solarized

Licence: other
Solarized dircolors plugin for zsh

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to zsh-dircolors-solarized

careful rm
A safe wrapper for rm that adds useful warnings and an optional recycle/trash mode
Stars: ✭ 22 (-78.64%)
Mutual labels:  antigen
vdjmatch
⚙️ Matching T-cell repertoire against a database of TCR antigen specificities
Stars: ✭ 30 (-70.87%)
Mutual labels:  antigen
tumult.plugin.zsh
Tumult is a collection of macOS-specific functions and scripts for your shell environment. It is packaged as a ZSH plugin, but can be used with other shells as well.
Stars: ✭ 147 (+42.72%)
Mutual labels:  antigen
Zsh Nvm
Zsh plugin for installing, updating and loading nvm
Stars: ✭ 1,670 (+1521.36%)
Mutual labels:  antigen
Awesome Zsh Plugins
A collection of ZSH frameworks, plugins, themes and tutorials.
Stars: ✭ 10,129 (+9733.98%)
Mutual labels:  antigen
zsh-ssh-agent
Ssh-agent management for zsh
Stars: ✭ 19 (-81.55%)
Mutual labels:  antigen
wakatime-zsh-plugin
🕒Track how much time you have spent in your terminal!
Stars: ✭ 71 (-31.07%)
Mutual labels:  antigen
typora-theme-tomotoes
🍅 一个番茄味的 Typora 主题
Stars: ✭ 18 (-82.52%)
Mutual labels:  solarized-theme
Solarized-Light-for-Xcode
Solarized Light Theme for Xcode
Stars: ✭ 21 (-79.61%)
Mutual labels:  solarized-theme

zsh-dircolors-solarized

Solarized dircolors plugin for zsh.

Installation

Note that after installing this plugin, the terminal must be restarted or a new terminal session must be created.

Manual

  1. Clone this repository somewhere on your computer. For example:

    git clone --recursive https://github.com/joel-porquet/zsh-dircolors-solarized ~/.zsh/zsh-dircolors-solarized
  2. Add the following snippet to your .zshrc:

    source ~/.zsh/zsh-dircolors-solarized/zsh-dircolors-solarized.zsh

Antigen

I recommend using antigen, but it is also compatible with other plugin managers.

  1. Add the following line in your .zshrc:

    antigen bundle joel-porquet/zsh-dircolors-solarized.git
    

Oh-my-zsh

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)

    git clone --recursive https://github.com/joel-porquet/zsh-dircolors-solarized $ZSH_CUSTOM/plugins/zsh-dircolors-solarized
  2. Add the plugin to the list of plugins for Oh My Zsh to load:

    plugins=(zsh-dircolors-solarized)

Usage

This plugin offers two commands:

  • lssolarized which lists the available solarized themes. For now there are:

    • dircolors.ansi-universal (universal theme for 16- and 256-color terminals)
    • dircolors.ansi-dark (optimized version of universal for dark background)
    • dircolors.ansi-light (optimized version of universal for light background)
    • dircolors.256dark (degraded solarized dark theme)
  • setupsolarized which installs a theme and saves the current configuration to the configuration file ($HOME/.zsh-dircolors.config by default). Without any argument, setupsolarized will use the theme dircolors.ansi-universal.

setupsolarized must be run at least once in order to create the configuration file. After doing so, the plugin will automatically load your configuration each time a zsh session is started.

OSX Support

A required command for this library is dircolors. This command is not available on OSX. Instead, gdircolors is provided through Homebrew.

  1. Install core-utils.
    brew install coreutils
    
  2. Add the following alias to your .zshrc anywhere prior to where this plugin is installed.
    alias dircolors='gdircolors'
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].