Giter VIP home page Giter VIP logo

alien-minimal's Introduction

alien-minimal

Installation

Add the following line to your .zshrc depending on your zsh plugin manager

antigen theme eendroroy/alien-minimal alien-minimal
zgen load eendroroy/alien-minimal
zplug "eendroroy/alien-minimal"

screencast

asciicast

customizations

Adding the following in .zshrc:

export PROMPT_START_TAG='-->'
export PROMPT_END_TAG=' $'
export PROMPT_START_TAG_COLOR=81
export PROMPT_END_TAG_COLOR=81

Will make the prompt look like:

 --> ~ $
 --> ~ $ 1
(venv) --> python-project $
(venv) --> python-project $ 130

You can additionally show the error color on prompt start tag:

export AM_ERROR_ON_START_TAG=1

Note: if PROMPT_START_TAG is empty, this configuration will be ignored.

Show versions:

Available version are: RUBY PYTHON JAVA Prompt maintain declaration order.

export AM_VERSIONS_PROMPT=(RUBY PYTHON JAVA)

Use 8 bit color:

export AM_USER_TERMINAL_COLOR=1

Show time for each process:

export AM_SHOW_PROCESS_TIME=0 # hide
export AM_SHOW_PROCESS_TIME=1 # show
export AM_SHOW_PROCESS_TIME=2 # show if not 0

Configure dirname in prompt:

export AM_SHOW_FULL_DIR=1 # shows the full dir path
export AM_SHOW_FULL_DIR=0 # shows the current dir name

Update left prompt asynchrononusly (initially show full directory path, update to short form later, this is just a fancy option)

export AM_UPDATE_L_PROMPT=1

Note: this overrides AM_SHOW_FULL_DIR configuration

Color themes:

1. export AM_THEME=MONO
2. export AM_THEME=MONO_BRIGHT

libs

'256color' by @chrissicool

'zsh-async' by @mafredri

'promptlib-zsh' by @eendroroy

alien-minimal's People

Contributors

eendroroy avatar gareys avatar gitter-badger 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.