├── README.md ├── LICENSE └── skull.zsh-theme /README.md: -------------------------------------------------------------------------------- 1 | # 🥀💀🔪 SKULL (ZSH THEME) 2 | Skull is a minimalist ZSH theme inspired by the dark and mysterious world of the undead. It provides a clean and informative prompt while keeping things spooky with skull accents and ghoulish colors. 3 | 4 | This theme also published in the [awesome-zsh-plugins](https://github.com/unixorn/awesome-zsh-plugins) repository on GitHub! 5 | 6 | ![cover image](https://raw.githubusercontent.com/tahadostifam/screenfetch/main/desktop19.png) 7 | 8 | #### Install Guide 9 | ```bash 10 | git clone https://github.com/tahadostifam/skull-zsh.git 11 | cp ./skull-zsh/skull.zsh-theme $HOME/.oh-my-zsh/themes 12 | nano ~/.zshrc 13 | 14 | # Change: 15 | # 'ZSH_THEME' -> 'skull' 16 | ``` 17 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) [2021] [Taha Dostifam] 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /skull.zsh-theme: -------------------------------------------------------------------------------- 1 | local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" 2 | 3 | if [[ $UID -eq 0 ]]; then 4 | local user_host='%{$terminfo[bold]$fg[red]%}%n@%m%{$reset_color%}' 5 | local user_symbol='#' 6 | else 7 | local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' 8 | local user_symbol='$' 9 | fi 10 | 11 | local current_dir='%{$terminfo[bold]$fg[blue]%}%~ %{$reset_color%}' 12 | local git_branch='$(git_prompt_info)' 13 | local rvm_ruby='$(ruby_prompt_info)' 14 | local venv_prompt='$(virtualenv_prompt_info)' 15 | 16 | ZSH_THEME_RVM_PROMPT_OPTIONS="i v g" 17 | 18 | PROMPT="🥀${user_host}🥀 💀 ${current_dir}${rvm_ruby}${git_branch}${venv_prompt} 19 | 🔪 " 20 | RPROMPT="%B${return_code}%b" 21 | 22 | ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" 23 | ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}" 24 | 25 | ZSH_THEME_RUBY_PROMPT_PREFIX="%{$fg[red]%}‹" 26 | ZSH_THEME_RUBY_PROMPT_SUFFIX="› %{$reset_color%}" 27 | 28 | ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX="%{$fg[green]%}‹" 29 | ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX="› %{$reset_color%}" 30 | ZSH_THEME_VIRTUALENV_PREFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_PREFIX 31 | ZSH_THEME_VIRTUALENV_SUFFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX 32 | 33 | # Customized By Taha Dostifam 34 | # https://github.com/tahadostifam 35 | --------------------------------------------------------------------------------