From d2a04b8a797efadc12b7f8613a72edc114b082a1 Mon Sep 17 00:00:00 2001 From: Frederik Klama Date: Sat, 12 Mar 2016 01:32:44 +0100 Subject: [PATCH 1/2] Adding fklama Theme, based on robbytussell theme. Added hostname and %/# depending if user is root. --- themes/fklama.zsh-theme | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 themes/fklama.zsh-theme diff --git a/themes/fklama.zsh-theme b/themes/fklama.zsh-theme new file mode 100644 index 000000000..7c6d1bcfb --- /dev/null +++ b/themes/fklama.zsh-theme @@ -0,0 +1,9 @@ +local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )%{$reset_color%}" +local machine="%(!:%{$fg_bold[magenta]%}%m:%{$fg_bold[yellow]%}%m)%{$reset_color%}" +local final_prompt="%(!:%{$fg_bold[red]%}:%{$fg_bold[green]%})%#%{$reset_color%}" +PROMPT='${ret_status} ${machine} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)${final_prompt} ' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[yellow]%}✗" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" From 76f72e53a001b33bad8162bd7e42bec852b5ed2a Mon Sep 17 00:00:00 2001 From: Frederik Klama Date: Wed, 23 Mar 2016 19:01:58 +0100 Subject: [PATCH 2/2] Update missed GitHub download URL in README Corrected missed conversion from raw.github.com to raw.githubusercontent.com for advanced install --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index b7d304116..9119c2710 100644 --- a/README.markdown +++ b/README.markdown @@ -104,7 +104,7 @@ The default location is `~/.oh-my-zsh` (hidden in your home directory) If you'd like to change the install directory with the `ZSH` environment variable, either by running `export ZSH=/your/path` before installing, or by setting it before the end of the install pipeline like this: ```shell -export ZSH="$HOME/.dotfiles/oh-my-zsh"; sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" +export ZSH="$HOME/.dotfiles/oh-my-zsh"; sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" ``` #### Manual Installation