├── LICENSE ├── README.md ├── assets └── example.png └── cdimascio-lambda.zsh-theme /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2017 Carmine M DiMascio 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # λ lambda-zsh-theme 2 | 3 | lambda-zsh-theme is a beautiful zsh theme inspired by the the oh-my-zsh [lambda](https://github.com/robbyrussell/oh-my-zsh/blob/master/themes/lambda.zsh-theme) theme. 4 | 5 | ![](https://github.com/cdimascio/lambda-zsh-theme/blob/master/assets/example.png?raw=true) 6 | 7 | ## Install 8 | 9 | Clone this repo, then... 10 | 11 | 1. Copy `cdimascio-lambda.zsh-theme` to the themes directory 12 | 13 | ```shell 14 | cp cdimascio-lambda.zsh-theme $ZSH_CUSTOM/themes 15 | # or alternatively 16 | # cp cdimascio-lambda.zsh-theme ~/.oh-my-zsh/themes 17 | ``` 18 | 19 | 2. Set cdimascio-lambda as your default theme 20 | 21 | Open `~/.zshrc` in your favorite editor 22 | 23 | Set the line that starts with `ZSH_THEME` to `ZSH_THEME=cdimascio-lambda` 24 | 25 | 3. Restart the terminal or source `/.zshrc` 26 | 27 | ```shell 28 | source ~/.zshrc 29 | ``` 30 | 31 | ## License 32 | 33 | [MIT](LICENSE) 34 | 35 | Buy Me A Coffee 36 | -------------------------------------------------------------------------------- /assets/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cdimascio/lambda-zsh-theme/b03ef9433bd04ba637f3edce3a5a78926fdcc043/assets/example.png -------------------------------------------------------------------------------- /cdimascio-lambda.zsh-theme: -------------------------------------------------------------------------------- 1 | local ret_status="%(?:%{$fg_bold[green]%}λ :%{$fg_bold[red]%}λ )" 2 | PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' 3 | 4 | ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" 5 | ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " 6 | ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗" 7 | ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" 8 | --------------------------------------------------------------------------------