mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Merge pull request #2588 from kerimdzhanov/remote-themes-copyright-info
Remove all copyright information in themes. Closes #2587
This commit is contained in:
commit
07c2bdf45d
24 changed files with 23 additions and 133 deletions
|
@ -2,7 +2,7 @@
|
||||||
# #
|
# #
|
||||||
# # #README
|
# # #README
|
||||||
# #
|
# #
|
||||||
# # This theme provides two customizable header functionalities :
|
# # This theme provides two customizable header functionalities:
|
||||||
# # a) displaying a pseudo-random message from a database of quotations
|
# # a) displaying a pseudo-random message from a database of quotations
|
||||||
# # (https://en.wikipedia.org/wiki/Fortune_%28Unix%29)
|
# # (https://en.wikipedia.org/wiki/Fortune_%28Unix%29)
|
||||||
# # b) displaying randomly command line tips from The command line fu
|
# # b) displaying randomly command line tips from The command line fu
|
||||||
|
@ -26,10 +26,7 @@
|
||||||
# # -OS X: iTerm 2 (http://www.iterm2.com/)
|
# # -OS X: iTerm 2 (http://www.iterm2.com/)
|
||||||
# # -font Source code pro (https://github.com/adobe/source-code-pro)
|
# # -font Source code pro (https://github.com/adobe/source-code-pro)
|
||||||
# #
|
# #
|
||||||
# # Author: Adolfo Benedetti
|
# # This theme's look and feel is based on the Aaron Toponce's zsh theme, more info:
|
||||||
# # email: adolfo.benedetti@gmail.com
|
|
||||||
# # License: Public Domain
|
|
||||||
# # This theme's look and feel is based on the Aaron Toponce's zsh theme , more info:
|
|
||||||
# # http://pthree.org/2008/11/23/727/
|
# # http://pthree.org/2008/11/23/727/
|
||||||
# # enjoy!
|
# # enjoy!
|
||||||
########## COLOR ###########
|
########## COLOR ###########
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
# af-magic.zsh-theme
|
# af-magic.zsh-theme
|
||||||
#
|
|
||||||
# Author: Andy Fleming
|
|
||||||
# URL: http://andyfleming.com/
|
|
||||||
# Repo: https://github.com/andyfleming/oh-my-zsh
|
# Repo: https://github.com/andyfleming/oh-my-zsh
|
||||||
# Direct Link: https://github.com/andyfleming/oh-my-zsh/blob/master/themes/af-magic.zsh-theme
|
# Direct Link: https://github.com/andyfleming/oh-my-zsh/blob/master/themes/af-magic.zsh-theme
|
||||||
#
|
|
||||||
# Created on: June 19, 2012
|
|
||||||
# Last modified on: June 20, 2012
|
|
||||||
|
|
||||||
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
|
||||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||||
|
|
|
@ -1,22 +1,4 @@
|
||||||
#
|
|
||||||
# Author:: Andrew Vit (<andrew@avit.ca>)
|
|
||||||
#
|
|
||||||
# AVIT ZSH Theme
|
# AVIT ZSH Theme
|
||||||
#
|
|
||||||
# Copyright 2011, Andrew Vit
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
#
|
|
||||||
|
|
||||||
PROMPT='
|
PROMPT='
|
||||||
$(_user_host)${_current_dir} $(git_prompt_info) $(_ruby_version)
|
$(_user_host)${_current_dir} $(git_prompt_info) $(_ruby_version)
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
# neuralsanwich.zsh-theme
|
# neuralsanwich.zsh-theme
|
||||||
#
|
|
||||||
# Author: Sean Jones
|
|
||||||
# URL: http://www.neuralsandwich.com
|
|
||||||
# Repo:
|
|
||||||
# Direct link:
|
|
||||||
# Create:
|
|
||||||
# Modified:
|
|
||||||
|
|
||||||
if [ "x$OH_MY_ZSH_HG" = "x" ]; then
|
if [ "x$OH_MY_ZSH_HG" = "x" ]; then
|
||||||
OH_MY_ZSH_HG="hg"
|
OH_MY_ZSH_HG="hg"
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
# -----------------------------------------------------------------------------
|
# dogenpunk.zsh-theme
|
||||||
# FILE: dogenpunk.zsh-theme
|
|
||||||
# DESCRIPTION: oh-my-zsh theme file.
|
|
||||||
# AUTHOR: Matthew Nelson (dogenpunk@gmail.com)
|
|
||||||
# VERSION: 0.1
|
|
||||||
# SCREENSHOT: coming soon
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
|
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
|
||||||
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
|
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
# user, host, full path, and time/date
|
# user, host, full path, and time/date
|
||||||
# on two lines for easier vgrepping
|
# on two lines for easier vgrepping
|
||||||
# entry in a nice long thread on the Arch Linux forums: http://bbs.archlinux.org/viewtopic.php?pid=521888#p521888
|
# entry in a nice long thread on the Arch Linux forums: http://bbs.archlinux.org/viewtopic.php?pid=521888#p521888
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#RVM settings
|
# RVM settings
|
||||||
if [[ -s ~/.rvm/scripts/rvm ]] ; then
|
if [[ -s ~/.rvm/scripts/rvm ]] ; then
|
||||||
RPS1="%{$fg[yellow]%}rvm:%{$reset_color%}%{$fg[red]%}\$(~/.rvm/bin/rvm-prompt)%{$reset_color%} $EPS1"
|
RPS1="%{$fg[yellow]%}rvm:%{$reset_color%}%{$fg[red]%}\$(~/.rvm/bin/rvm-prompt)%{$reset_color%} $EPS1"
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@ ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*%{$reset_color%}"
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
|
|
||||||
#Customized git status, oh-my-zsh currently does not allow render dirty status before branch
|
# Customized git status, oh-my-zsh currently does not allow render dirty status before branch
|
||||||
git_custom_status() {
|
git_custom_status() {
|
||||||
local cb=$(current_branch)
|
local cb=$(current_branch)
|
||||||
if [ -n "$cb" ]; then
|
if [ -n "$cb" ]; then
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Theme with full path names and hostname
|
# Theme with full path names and hostname
|
||||||
# Handy if you work on different servers all the time;
|
# Handy if you work on different servers all the time;
|
||||||
|
|
||||||
|
|
||||||
local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})"
|
local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})"
|
||||||
|
|
||||||
function my_git_prompt_info() {
|
function my_git_prompt_info() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Fino-time theme by Aexander Berezovsky (http://berezovsky.me) based on Fino by Max Masnick (http://max.masnick.me)
|
# fino-time.zsh-theme
|
||||||
|
|
||||||
# Use with a dark background and 256-color terminal!
|
# Use with a dark background and 256-color terminal!
|
||||||
# Meant for people with RVM and git. Tested only on OS X 10.7.
|
# Meant for people with RVM and git. Tested only on OS X 10.7.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Fino theme by Max Masnick (http://max.masnick.me)
|
# fino.zsh-theme
|
||||||
|
|
||||||
# Use with a dark background and 256-color terminal!
|
# Use with a dark background and 256-color terminal!
|
||||||
# Meant for people with rbenv and git. Tested only on OS X 10.7.
|
# Meant for people with rbenv and git. Tested only on OS X 10.7.
|
||||||
|
@ -11,7 +11,6 @@
|
||||||
#
|
#
|
||||||
# Also borrowing from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
|
# Also borrowing from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
|
||||||
|
|
||||||
|
|
||||||
function prompt_char {
|
function prompt_char {
|
||||||
git branch >/dev/null 2>/dev/null && echo "±" && return
|
git branch >/dev/null 2>/dev/null && echo "±" && return
|
||||||
echo '○'
|
echo '○'
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#fox theme
|
# fox.zsh-theme
|
||||||
|
|
||||||
PROMPT='%{$fg[cyan]%}┌[%{$fg_bold[white]%}%n%{$reset_color%}%{$fg[cyan]%}☮%{$fg_bold[white]%}%M%{$reset_color%}%{$fg[cyan]%}]%{$fg[white]%}-%{$fg[cyan]%}(%{$fg_bold[white]%}%~%{$reset_color%}%{$fg[cyan]%})$(git_prompt_info)
|
PROMPT='%{$fg[cyan]%}┌[%{$fg_bold[white]%}%n%{$reset_color%}%{$fg[cyan]%}☮%{$fg_bold[white]%}%M%{$reset_color%}%{$fg[cyan]%}]%{$fg[white]%}-%{$fg[cyan]%}(%{$fg_bold[white]%}%~%{$reset_color%}%{$fg[cyan]%})$(git_prompt_info)
|
||||||
└> % %{$reset_color%}'
|
└> % %{$reset_color%}'
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
# Oh-my-Zsh prompt created by gianu
|
|
||||||
#
|
|
||||||
# github.com/gianu
|
|
||||||
# sgianazza@gmail.com
|
|
||||||
|
|
||||||
PROMPT='[%{$fg_bold[white]%}%n%{$reset_color%}@%{$fg_bold[red]%}%m%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}]$ '
|
PROMPT='[%{$fg_bold[white]%}%n%{$reset_color%}@%{$fg_bold[red]%}%m%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}]$ '
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg_bold[green]%}"
|
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg_bold[green]%}"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# ZSH theme by James Smith (http://loopj.com)
|
|
||||||
# A multiline prompt with username, hostname, full path, return status, git branch, git dirty status, git remote status
|
# A multiline prompt with username, hostname, full path, return status, git branch, git dirty status, git remote status
|
||||||
|
|
||||||
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
|
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%}"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# Created by Daniel Bayerlein https://github.com/danielbayerlein
|
|
||||||
# Inspired by http://peepcode.com/blog/2012/my-command-line-prompt
|
# Inspired by http://peepcode.com/blog/2012/my-command-line-prompt
|
||||||
|
|
||||||
local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
|
local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
# ------------------------------------------------------------------------------
|
# jaischeema.zsh-theme
|
||||||
# FILE: jaischeema.zsh-theme
|
|
||||||
# DESCRIPTION: oh-my-zsh theme file.
|
|
||||||
# AUTHOR: Jais Cheema
|
|
||||||
# VERSION: 0.0.1
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
PROMPT='%{$fg_bold[magenta]%}%m%{$reset_color%} at %{$fg_bold[green]%}%~%{$reset_color%} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}%{$fg[red]%}❯%{$reset_color%} '
|
PROMPT='%{$fg_bold[magenta]%}%m%{$reset_color%} at %{$fg_bold[green]%}%~%{$reset_color%} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}%{$fg[red]%}❯%{$reset_color%} '
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
# ------------------------------------------------------------------------
|
# Needs Git plugin for current_branch method
|
||||||
# Juan G. Hurtado oh-my-zsh theme
|
|
||||||
# (Needs Git plugin for current_branch method)
|
|
||||||
# ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Color shortcuts
|
# Color shortcuts
|
||||||
RED=$fg[red]
|
RED=$fg[red]
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
# ------------------------------------------------------------------------
|
|
||||||
# Tyler Cipriani
|
|
||||||
# oh-my-zsh theme
|
|
||||||
# Totally ripped off Dallas theme
|
# Totally ripped off Dallas theme
|
||||||
# ------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Grab the current date (%W) and time (%t):
|
# Grab the current date (%W) and time (%t):
|
||||||
JUNKFOOD_TIME_="%{$fg_bold[red]%}#%{$fg_bold[white]%}( %{$fg_bold[yellow]%}%W%{$reset_color%}@%{$fg_bold[white]%}%t )( %{$reset_color%}"
|
JUNKFOOD_TIME_="%{$fg_bold[red]%}#%{$fg_bold[white]%}( %{$fg_bold[yellow]%}%W%{$reset_color%}@%{$fg_bold[white]%}%t )( %{$reset_color%}"
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
# ------------------------------------------------------------------------------
|
# kphoen.zsh-theme
|
||||||
# FILE: kphoen.zsh-theme
|
|
||||||
# DESCRIPTION: oh-my-zsh theme file.
|
|
||||||
# AUTHOR: Kévin Gomez (geek63@gmail.com)
|
|
||||||
# VERSION: 1.0.0
|
|
||||||
# SCREENSHOT:
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
||||||
PROMPT='[%{$fg[red]%}%n%{$reset_color%}@%{$fg[magenta]%}%m%{$reset_color%}:%{$fg[blue]%}%~%{$reset_color%}$(git_prompt_info)]
|
PROMPT='[%{$fg[red]%}%n%{$reset_color%}@%{$fg[magenta]%}%m%{$reset_color%}:%{$fg[blue]%}%~%{$reset_color%}$(git_prompt_info)]
|
||||||
|
|
|
@ -18,28 +18,6 @@
|
||||||
# Github: https://github.com/nicoulaj
|
# Github: https://github.com/nicoulaj
|
||||||
# Twitter: https://twitter.com/nicoulaj
|
# Twitter: https://twitter.com/nicoulaj
|
||||||
#
|
#
|
||||||
# License
|
|
||||||
#
|
|
||||||
# Copyright (c) 2013 Kasper Kronborg Isager
|
|
||||||
#
|
|
||||||
# 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:
|
|
||||||
#
|
|
||||||
# The above copyright notice and this permission notice shall be included in
|
|
||||||
# all copies or substantial portions of the Software.
|
|
||||||
#
|
|
||||||
# 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.
|
|
||||||
#
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
# Set required options
|
# Set required options
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
# /|/ Code by Stephen
|
|
||||||
# /|/ "Rixius" Middleton
|
|
||||||
#
|
|
||||||
# name in folder (github)
|
# name in folder (github)
|
||||||
# ± if in github repo, or ≥ if otherwise Time in 24-hour format is on right.
|
# ± if in github repo, or ≥ if otherwise Time in 24-hour format is on right.
|
||||||
function collapse_pwd {
|
function collapse_pwd {
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
# -----------------------------------------------------------------------------
|
# smt.zsh-theme, based on dogenpunk by Matthew Nelson.
|
||||||
# FILE: smt.zsh-theme
|
|
||||||
# DESCRIPTION: oh-my-zsh theme file, based on dogenpunk by Matthew Nelson.
|
|
||||||
# AUTHOR: Stephen Tudor (stephen@tudorstudio.com
|
|
||||||
# VERSION: 0.1
|
|
||||||
# SCREENSHOT: coming soon
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
|
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
|
||||||
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%} "
|
local return_status="%{$fg[red]%}%(?..⏎)%{$reset_color%} "
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
# ------------------------------------------------------------------------------
|
# sorin.zsh-theme
|
||||||
# FILE: sorin.zsh-theme
|
# screenshot: http://i.imgur.com/aipDQ.png
|
||||||
# DESCRIPTION: oh-my-zsh theme file.
|
|
||||||
# AUTHOR: Sorin Ionescu (sorin.ionescu@gmail.com)
|
|
||||||
# VERSION: 1.0.2
|
|
||||||
# SCREENSHOT: http://i.imgur.com/aipDQ.png
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
if [[ "$TERM" != "dumb" ]] && [[ "$DISABLE_LS_COLORS" != "true" ]]; then
|
||||||
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
|
MODE_INDICATOR="%{$fg_bold[red]%}❮%{$reset_color%}%{$fg[red]%}❮❮%{$reset_color%}"
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#-------------------------------------------------------------------------------
|
# Sunrise theme for oh-my-zsh
|
||||||
# Sunrise theme for oh-my-zsh by Adam Lindberg (eproxus@gmail.com)
|
|
||||||
# Intended to be used with Solarized: http://ethanschoonover.com/solarized
|
# Intended to be used with Solarized: http://ethanschoonover.com/solarized
|
||||||
# (Needs Git plugin for current_branch method)
|
# (Needs Git plugin for current_branch method)
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Color shortcuts
|
# Color shortcuts
|
||||||
R=$fg_no_bold[red]
|
R=$fg_no_bold[red]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
# Name: trapd00r zsh theme
|
# trapd00r.zsh-theme
|
||||||
# Author: Magnus Woldrich <m@japh.se>
|
|
||||||
#
|
#
|
||||||
# This theme needs a terminal supporting 256 colors as well as unicode. It also
|
# This theme needs a terminal supporting 256 colors as well as unicode. It also
|
||||||
# needs the script that splits up the current path and makes it fancy as located
|
# needs the script that splits up the current path and makes it fancy as located
|
||||||
|
|
Loading…
Reference in a new issue