Giter VIP home page Giter VIP logo

alacritty-shell's Introduction

alacritty-shell

zsh alacritty-shell plugin

alacritty-shell is a dynamic theme chooser based on the alacritty.yml schemes: setttings

requirements

yq

  • yq is used to update the alacritty.yml file
  • check that the version is greater than 4.31
❯ yq --version
yq (https://github.com/mikefarah/yq/) version v4.31.2

install

custom alacritty themes

Alacritty color-schemes describes how to use multiple schemes.

alacritty-shell themes wiki

Note add index: 208 = orange

setup

zinit

zinit wait lucid for \
  casonadams/alacritty-shell \
  ;

oh-my-zsh

ZSH_CUSTOM="${HOME}/.oh-my-zsh/custom/" git clone --depth=1 "https://github.com/casonadams/alacritty-shell.git" "${ZSH_CUSTOM}/plugins/alacritty-shell"
# ~/.zshrc

plugins+=(
  alacritty-shell
)

manual

Add following lines to .bashrc or .zshrc:

if [ ! -d "${HOME}/.alacritty-shell" ]; then
  git clone https://github.com/casonadams/alacritty-shell.git "${HOME}/.alacritty-shell"
fi

ALACRITTY_SHELL="${HOME}/.alacritty-shell"
[ -n "$PS1" ] \
  && [ -s "${ALACRITTY_SHELL}/profile_helper.sh" ] \
  && eval "$("${ALACRITTY_SHELL}/profile_helper.sh")"

NOTE restart shell

usage

add a builtin theme (tab complete)

add_alacritty_darcula-dark

change terminal colors (tab complete)

alacritty_darcula-dark

using with vim

install walh colorscheme

set notermguicolors
colorscheme walh-gruvbox

Note not tested on windows (probably won't work) open to MRs to support it though

alacritty-shell's People

Contributors

casonadams avatar rajibahmed avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.