diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/MIT-LICENSE.txt b/MIT-LICENSE.txt old mode 100644 new mode 100755 diff --git a/README.textile b/README.textile old mode 100644 new mode 100755 diff --git a/custom/example.zsh b/custom/example.zsh old mode 100644 new mode 100755 diff --git a/custom/plugins/example/example.plugin.zsh b/custom/plugins/example/example.plugin.zsh old mode 100644 new mode 100755 diff --git a/lib/aliases.zsh b/lib/aliases.zsh old mode 100644 new mode 100755 diff --git a/lib/completion.zsh b/lib/completion.zsh old mode 100644 new mode 100755 diff --git a/lib/correction.zsh b/lib/correction.zsh old mode 100644 new mode 100755 diff --git a/lib/directories.zsh b/lib/directories.zsh old mode 100644 new mode 100755 diff --git a/lib/functions.zsh b/lib/functions.zsh old mode 100644 new mode 100755 diff --git a/lib/git.zsh b/lib/git.zsh old mode 100644 new mode 100755 diff --git a/lib/grep.zsh b/lib/grep.zsh old mode 100644 new mode 100755 diff --git a/lib/history.zsh b/lib/history.zsh old mode 100644 new mode 100755 diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh old mode 100644 new mode 100755 diff --git a/lib/misc.zsh b/lib/misc.zsh old mode 100644 new mode 100755 diff --git a/lib/spectrum.zsh b/lib/spectrum.zsh old mode 100644 new mode 100755 diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh old mode 100644 new mode 100755 diff --git a/lib/theme-and-appearance.zsh b/lib/theme-and-appearance.zsh old mode 100644 new mode 100755 diff --git a/log/.easter-egg b/log/.easter-egg old mode 100644 new mode 100755 diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh old mode 100644 new mode 100755 diff --git a/plugins/ant/ant.plugin.zsh b/plugins/ant/ant.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/apache2-macports/apache2-macports.plugin.zsh b/plugins/apache2-macports/apache2-macports.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/autoenv/autoenv.plugin.zsh b/plugins/autoenv/autoenv.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/battery/battery.plugin.zsh b/plugins/battery/battery.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/bower/bower.plugin.zsh b/plugins/bower/bower.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/brew/_brew b/plugins/brew/_brew old mode 100644 new mode 100755 diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/bundler/_bundler b/plugins/bundler/_bundler old mode 100644 new mode 100755 diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/bwana/bwana.plugin.zsh b/plugins/bwana/bwana.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/cake/cake.plugin.zsh b/plugins/cake/cake.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/capistrano/_capistrano b/plugins/capistrano/_capistrano old mode 100644 new mode 100755 diff --git a/plugins/cloudapp/cloudapp.plugin.zsh b/plugins/cloudapp/cloudapp.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/coffee/_coffee b/plugins/coffee/_coffee old mode 100644 new mode 100755 diff --git a/plugins/colemak/colemak-less b/plugins/colemak/colemak-less old mode 100644 new mode 100755 diff --git a/plugins/colemak/colemak.plugin.zsh b/plugins/colemak/colemak.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/colored-man/colored-man.plugin.zsh b/plugins/colored-man/colored-man.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/colorize/colorize.plugin.zsh b/plugins/colorize/colorize.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/command-not-found/command-not-found.plugin.zsh b/plugins/command-not-found/command-not-found.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/compleat/compleat.plugin.zsh b/plugins/compleat/compleat.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/composer/composer.plugin.zsh b/plugins/composer/composer.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/copydir/copydir.plugin.zsh b/plugins/copydir/copydir.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/copyfile/copyfile.plugin.zsh b/plugins/copyfile/copyfile.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/cp/cp.plugin.zsh b/plugins/cp/cp.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/cpanm/_cpanm b/plugins/cpanm/_cpanm old mode 100644 new mode 100755 diff --git a/plugins/debian/debian.plugin.zsh b/plugins/debian/debian.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/dircycle/dircycle.plugin.zsh b/plugins/dircycle/dircycle.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/dirpersist/dirpersist.plugin.zsh b/plugins/dirpersist/dirpersist.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/django/django.plugin.zsh b/plugins/django/django.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/emoji-clock/emoji-clock.plugin.zsh b/plugins/emoji-clock/emoji-clock.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/encode64/encode64.plugin.zsh b/plugins/encode64/encode64.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/extract/_extract b/plugins/extract/_extract old mode 100644 new mode 100755 diff --git a/plugins/extract/extract.plugin.zsh b/plugins/extract/extract.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/fabric/_fab b/plugins/fabric/_fab old mode 100644 new mode 100755 diff --git a/plugins/fabric/fabric.plugin.zsh b/plugins/fabric/fabric.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/fasd/fasd.plugin.zsh b/plugins/fasd/fasd.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/fbterm/fbterm.plugin.zsh b/plugins/fbterm/fbterm.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/forklift/forklift.plugin.zsh b/plugins/forklift/forklift.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/gas/_gas b/plugins/gas/_gas old mode 100644 new mode 100755 diff --git a/plugins/gem/_gem b/plugins/gem/_gem old mode 100644 new mode 100755 diff --git a/plugins/git-extras/git-extras.plugin.zsh b/plugins/git-extras/git-extras.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/git-flow-avh/git-flow-avh.plugin.zsh b/plugins/git-flow-avh/git-flow-avh.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/git-hubflow/git-hubflow.plugin.zsh b/plugins/git-hubflow/git-hubflow.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/git-remote-branch/git-remote-branch.plugin.zsh b/plugins/git-remote-branch/git-remote-branch.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/gitfast/_git b/plugins/gitfast/_git old mode 100644 new mode 100755 diff --git a/plugins/gitfast/git-completion.bash b/plugins/gitfast/git-completion.bash old mode 100644 new mode 100755 diff --git a/plugins/gitfast/git-prompt.sh b/plugins/gitfast/git-prompt.sh old mode 100644 new mode 100755 diff --git a/plugins/gitfast/gitfast.plugin.zsh b/plugins/gitfast/gitfast.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/github/_github b/plugins/github/_github old mode 100644 new mode 100755 diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/gnu-utils/gnu-utils.plugin.zsh b/plugins/gnu-utils/gnu-utils.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/go/go.plugin.zsh b/plugins/go/go.plugin.zsh deleted file mode 120000 index cf943e2e1..000000000 --- a/plugins/go/go.plugin.zsh +++ /dev/null @@ -1 +0,0 @@ -../golang/golang.plugin.zsh \ No newline at end of file diff --git a/plugins/go/go.plugin.zsh b/plugins/go/go.plugin.zsh new file mode 100755 index 000000000..23afa9656 --- /dev/null +++ b/plugins/go/go.plugin.zsh @@ -0,0 +1,151 @@ +# install in /etc/zsh/zshrc or your personal .zshrc + +# gc +prefixes=(5 6 8) +for p in $prefixes; do + compctl -g "*.${p}" ${p}l + compctl -g "*.go" ${p}g +done + +# standard go tools +compctl -g "*.go" gofmt + +# gccgo +compctl -g "*.go" gccgo + +# go tool +__go_tool_complete() { + typeset -a commands build_flags + commands+=( + 'build[compile packages and dependencies]' + 'clean[remove object files]' + 'doc[run godoc on package sources]' + 'fix[run go tool fix on packages]' + 'fmt[run gofmt on package sources]' + 'get[download and install packages and dependencies]' + 'help[display help]' + 'install[compile and install packages and dependencies]' + 'list[list packages]' + 'run[compile and run Go program]' + 'test[test packages]' + 'tool[run specified go tool]' + 'version[print Go version]' + 'vet[run go tool vet on packages]' + ) + if (( CURRENT == 2 )); then + # explain go commands + _values 'go tool commands' ${commands[@]} + return + fi + build_flags=( + '-a[force reinstallation of packages that are already up-to-date]' + '-n[print the commands but do not run them]' + "-p[number of parallel builds]:number" + '-x[print the commands]' + "-work[print temporary directory name and keep it]" + "-gcflags[flags for 5g/6g/8g]:flags" + "-ldflags[flags for 5l/6l/8l]:flags" + "-gccgoflags[flags for gccgo]:flags" + ) + __go_list() { + local expl importpaths + declare -a importpaths + importpaths=($(go list ${words[$CURRENT]}... 2>/dev/null)) + _wanted importpaths expl 'import paths' compadd "$@" - "${importpaths[@]}" + } + case ${words[2]} in + clean|doc) + _arguments -s -w : '*:importpaths:__go_list' + ;; + fix|fmt|list|vet) + _alternative ':importpaths:__go_list' ':files:_path_files -g "*.go"' + ;; + install) + _arguments -s -w : ${build_flags[@]} \ + "-v[show package names]" \ + '*:importpaths:__go_list' + ;; + get) + _arguments -s -w : \ + ${build_flags[@]} + ;; + build) + _arguments -s -w : \ + ${build_flags[@]} \ + "-v[show package names]" \ + "-o[output file]:file:_files" \ + "*:args:{ _alternative ':importpaths:__go_list' ':files:_path_files -g \"*.go\"' }" + ;; + test) + _arguments -s -w : \ + ${build_flags[@]} \ + "-c[do not run, compile the test binary]" \ + "-i[do not run, install dependencies]" \ + "-v[print test output]" \ + "-x[print the commands]" \ + "-short[use short mode]" \ + "-parallel[number of parallel tests]:number" \ + "-cpu[values of GOMAXPROCS to use]:number list" \ + "-run[run tests and examples matching regexp]:regexp" \ + "-bench[run benchmarks matching regexp]:regexp" \ + "-benchtime[run each benchmark during n seconds]:duration" \ + "-timeout[kill test after that duration]:duration" \ + "-cpuprofile[write CPU profile to file]:file:_files" \ + "-memprofile[write heap profile to file]:file:_files" \ + "-memprofilerate[set heap profiling rate]:number" \ + "*:args:{ _alternative ':importpaths:__go_list' ':files:_path_files -g \"*.go\"' }" + ;; + help) + _values "${commands[@]}" \ + 'gopath[GOPATH environment variable]' \ + 'importpath[description of import paths]' \ + 'remote[remote import path syntax]' \ + 'testflag[description of testing flags]' \ + 'testfunc[description of testing functions]' + ;; + run) + _arguments -s -w : \ + ${build_flags[@]} \ + '*:file:_path_files -g "*.go"' + ;; + tool) + if (( CURRENT == 3 )); then + _values "go tool" $(go tool) + return + fi + case ${words[3]} in + [568]g) + _arguments -s -w : \ + '-I[search for packages in DIR]:includes:_path_files -/' \ + '-L[show full path in file:line prints]' \ + '-S[print the assembly language]' \ + '-V[print the compiler version]' \ + '-e[no limit on number of errors printed]' \ + '-h[panic on an error]' \ + '-l[disable inlining]' \ + '-m[print optimization decisions]' \ + '-o[file specify output file]:file' \ + '-p[assumed import path for this code]:importpath' \ + '-u[disable package unsafe]' \ + "*:file:_files -g '*.go'" + ;; + [568]l) + local O=${words[3]%l} + _arguments -s -w : \ + '-o[file specify output file]:file' \ + '-L[search for packages in DIR]:includes:_path_files -/' \ + "*:file:_files -g '*.[ao$O]'" + ;; + dist) + _values "dist tool" banner bootstrap clean env install version + ;; + *) + # use files by default + _files + ;; + esac + ;; + esac +} + +compdef __go_tool_complete go diff --git a/plugins/golang/golang.plugin.zsh b/plugins/golang/golang.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/gpg-agent/gpg-agent.plugin.zsh b/plugins/gpg-agent/gpg-agent.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/gradle/gradle.plugin.zsh b/plugins/gradle/gradle.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/heroku/_heroku b/plugins/heroku/_heroku old mode 100644 new mode 100755 diff --git a/plugins/history-substring-search/README b/plugins/history-substring-search/README old mode 100644 new mode 100755 diff --git a/plugins/history-substring-search/history-substring-search.plugin.zsh b/plugins/history-substring-search/history-substring-search.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/history-substring-search/history-substring-search.zsh b/plugins/history-substring-search/history-substring-search.zsh old mode 100644 new mode 100755 diff --git a/plugins/history/history.plugin.zsh b/plugins/history/history.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/jake-node/jake-node.plugin.zsh b/plugins/jake-node/jake-node.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/jira/jira.plugin.zsh b/plugins/jira/jira.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/kate/kate.plugin.zsh b/plugins/kate/kate.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/knife/_knife b/plugins/knife/_knife old mode 100644 new mode 100755 diff --git a/plugins/laravel/_artisan b/plugins/laravel/_artisan old mode 100644 new mode 100755 diff --git a/plugins/laravel/laravel.plugin.zsh b/plugins/laravel/laravel.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/last-working-dir/last-working-dir.plugin.zsh b/plugins/last-working-dir/last-working-dir.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/lein/lein.plugin.zsh b/plugins/lein/lein.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/lighthouse/lighthouse.plugin.zsh b/plugins/lighthouse/lighthouse.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/lol/lol.plugin.zsh b/plugins/lol/lol.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/macports/_port b/plugins/macports/_port old mode 100644 new mode 100755 diff --git a/plugins/macports/macports.plugin.zsh b/plugins/macports/macports.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/mercurial/mercurial.plugin.zsh b/plugins/mercurial/mercurial.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/mvn/mvn.plugin.zsh b/plugins/mvn/mvn.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/mysql-macports/mysql-macports.plugin.zsh b/plugins/mysql-macports/mysql-macports.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/nanoc/_nanoc b/plugins/nanoc/_nanoc old mode 100644 new mode 100755 diff --git a/plugins/nanoc/nanoc.plugin.zsh b/plugins/nanoc/nanoc.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/node/node.plugin.zsh b/plugins/node/node.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/nyan/nyan.plugin.zsh b/plugins/nyan/nyan.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/osx/_man-preview b/plugins/osx/_man-preview old mode 100644 new mode 100755 diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/pass/_pass b/plugins/pass/_pass old mode 100644 new mode 100755 diff --git a/plugins/per-directory-history/per-directory-history.plugin.zsh b/plugins/per-directory-history/per-directory-history.plugin.zsh deleted file mode 120000 index 142d9541d..000000000 --- a/plugins/per-directory-history/per-directory-history.plugin.zsh +++ /dev/null @@ -1 +0,0 @@ -per-directory-history.zsh \ No newline at end of file diff --git a/plugins/per-directory-history/per-directory-history.plugin.zsh b/plugins/per-directory-history/per-directory-history.plugin.zsh new file mode 100755 index 000000000..61e8b5a62 --- /dev/null +++ b/plugins/per-directory-history/per-directory-history.plugin.zsh @@ -0,0 +1,149 @@ +#!/usr/bin/env zsh +# +# This is a implementation of per directory history for zsh, some +# implementations of which exist in bash[1,2]. It also implements +# a per-directory-history-toggle-history function to change from using the +# directory history to using the global history. In both cases the history is +# always saved to both the global history and the directory history, so the +# toggle state will not effect the saved histories. Being able to switch +# between global and directory histories on the fly is a novel feature as far +# as I am aware. +# +#------------------------------------------------------------------------------- +# Configuration +#------------------------------------------------------------------------------- +# +# HISTORY_BASE a global variable that defines the base directory in which the +# directory histories are stored +# +#------------------------------------------------------------------------------- +# History +#------------------------------------------------------------------------------- +# +# The idea/inspiration for a per directory history is from Stewart MacArthur[1] +# and Dieter[2], the implementation idea is from Bart Schaefer on the the zsh +# mailing list[3]. The implementation is by Jim Hester in September 2012. +# +# [1]: http://www.compbiome.com/2010/07/bash-per-directory-bash-history.html +# [2]: http://dieter.plaetinck.be/per_directory_bash +# [3]: http://www.zsh.org/mla/users/1997/msg00226.html +# +################################################################################ +# +# Copyright (c) 2012 Jim Hester +# +# This software is provided 'as-is', without any express or implied warranty. +# In no event will the authors be held liable for any damages arising from the +# use of this software. +# +# Permission is granted to anyone to use this software for any purpose, +# including commercial applications, and to alter it and redistribute it +# freely, subject to the following restrictions: +# +# 1. The origin of this software must not be misrepresented; you must not claim +# that you wrote the original software. If you use this software in a product, +# an acknowledgment in the product documentation would be appreciated but is +# not required. +# +# 2. Altered source versions must be plainly marked as such, and must not be +# misrepresented as being the original software. +# +# 3. This notice may not be removed or altered from any source distribution.. +# +################################################################################ + +#------------------------------------------------------------------------------- +# configuration, the base under which the directory histories are stored +#------------------------------------------------------------------------------- + +[[ -z $HISTORY_BASE ]] && HISTORY_BASE="$HOME/.directory_history" + +#------------------------------------------------------------------------------- +# toggle global/directory history used for searching - ctrl-G by default +#------------------------------------------------------------------------------- + +function per-directory-history-toggle-history() { + if [[ $_per_directory_history_is_global == true ]]; then + _per-directory-history-set-directory-history + print "\nusing local history\n" + else + _per-directory-history-set-global-history + print "\nusing global history\n" + fi + zle .push-line + zle .accept-line +} + +autoload per-directory-history-toggle-history +zle -N per-directory-history-toggle-history +bindkey '^G' per-directory-history-toggle-history + +#------------------------------------------------------------------------------- +# implementation details +#------------------------------------------------------------------------------- + +_per_directory_history_directory="$HISTORY_BASE${PWD:A}/history" + +function _per-directory-history-change-directory() { + _per_directory_history_directory="$HISTORY_BASE${PWD:A}/history" + mkdir -p ${_per_directory_history_directory:h} + if [[ $_per_directory_history_is_global == false ]]; then + #save to the global history + fc -AI $HISTFILE + #save history to previous file + local prev="$HISTORY_BASE${OLDPWD:A}/history" + mkdir -p ${prev:h} + fc -AI $prev + + #discard previous directory's history + local original_histsize=$HISTSIZE + HISTSIZE=0 + HISTSIZE=$original_histsize + + #read history in new file + if [[ -e $_per_directory_history_directory ]]; then + fc -R $_per_directory_history_directory + fi + fi +} + +function _per-directory-history-addhistory() { + print -sr -- ${1%%$'\n'} + fc -p $_per_directory_history_directory +} + + +function _per-directory-history-set-directory-history() { + if [[ $_per_directory_history_is_global == true ]]; then + fc -AI $HISTFILE + local original_histsize=$HISTSIZE + HISTSIZE=0 + HISTSIZE=$original_histsize + if [[ -e "$_per_directory_history_directory" ]]; then + fc -R "$_per_directory_history_directory" + fi + fi + _per_directory_history_is_global=false +} +function _per-directory-history-set-global-history() { + if [[ $_per_directory_history_is_global == false ]]; then + fc -AI $_per_directory_history_directory + local original_histsize=$HISTSIZE + HISTSIZE=0 + HISTSIZE=$original_histsize + if [[ -e "$HISTFILE" ]]; then + fc -R "$HISTFILE" + fi + fi + _per_directory_history_is_global=true +} + + +#add functions to the exec list for chpwd and zshaddhistory +chpwd_functions=(${chpwd_functions[@]} "_per-directory-history-change-directory") +zshaddhistory_functions=(${zshaddhistory_functions[@]} "_per-directory-history-addhistory") + +#start in directory mode +mkdir -p ${_per_directory_history_directory:h} +_per_directory_history_is_global=true +_per-directory-history-set-directory-history diff --git a/plugins/perl/perl.plugin.zsh b/plugins/perl/perl.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/phing/phing.plugin.zsh b/plugins/phing/phing.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/pip/_pip b/plugins/pip/_pip old mode 100644 new mode 100755 diff --git a/plugins/pj/pj.plugin.zsh b/plugins/pj/pj.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/pow/pow.plugin.zsh b/plugins/pow/pow.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/powder/_powder b/plugins/powder/_powder old mode 100644 new mode 100755 diff --git a/plugins/powify/_powify b/plugins/powify/_powify old mode 100644 new mode 100755 diff --git a/plugins/profiles/profiles.plugin.zsh b/plugins/profiles/profiles.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/python/python.plugin.zsh b/plugins/python/python.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rails/rails.plugin.zsh b/plugins/rails/rails.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rails3/rails3.plugin.zsh b/plugins/rails3/rails3.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rails4/rails4.plugin.zsh b/plugins/rails4/rails4.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rake/rake.plugin.zsh b/plugins/rake/rake.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rbenv/rbenv.plugin.zsh b/plugins/rbenv/rbenv.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rbfu/rbfu.plugin.zsh b/plugins/rbfu/rbfu.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rebar/_rebar b/plugins/rebar/_rebar old mode 100644 new mode 100755 diff --git a/plugins/redis-cli/_redis-cli b/plugins/redis-cli/_redis-cli old mode 100644 new mode 100755 diff --git a/plugins/rsync/rsync.plugin.zsh b/plugins/rsync/rsync.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/ruby/ruby.plugin.zsh b/plugins/ruby/ruby.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rvm/rvm.plugin.zsh b/plugins/rvm/rvm.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/safe-paste/safe-paste.plugin.zsh b/plugins/safe-paste/safe-paste.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/sbt/_sbt b/plugins/sbt/_sbt old mode 100644 new mode 100755 diff --git a/plugins/sbt/sbt.plugin.zsh b/plugins/sbt/sbt.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/scala/_scala b/plugins/scala/_scala old mode 100644 new mode 100755 diff --git a/plugins/screen/screen.plugin.zsh b/plugins/screen/screen.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/ssh-agent/ssh-agent.plugin.zsh b/plugins/ssh-agent/ssh-agent.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/supervisor/_supervisorctl b/plugins/supervisor/_supervisorctl old mode 100644 new mode 100755 diff --git a/plugins/supervisor/_supervisord b/plugins/supervisor/_supervisord old mode 100644 new mode 100755 diff --git a/plugins/supervisor/supervisor.plugin.zsh b/plugins/supervisor/supervisor.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/suse/suse.plugin.zsh b/plugins/suse/suse.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/svn/svn.plugin.zsh b/plugins/svn/svn.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/symfony/symfony.plugin.zsh b/plugins/symfony/symfony.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/symfony2/symfony2.plugin.zsh b/plugins/symfony2/symfony2.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/systemd/systemd.plugin.zsh b/plugins/systemd/systemd.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/taskwarrior/_task b/plugins/taskwarrior/_task old mode 100644 new mode 100755 diff --git a/plugins/taskwarrior/taskwarrior.plugin.zsh b/plugins/taskwarrior/taskwarrior.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/terminalapp/terminalapp.plugin.zsh b/plugins/terminalapp/terminalapp.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/terminitor/_terminitor b/plugins/terminitor/_terminitor old mode 100644 new mode 100755 diff --git a/plugins/textmate/textmate.plugin.zsh b/plugins/textmate/textmate.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/themes/_theme b/plugins/themes/_theme old mode 100644 new mode 100755 diff --git a/plugins/themes/themes.plugin.zsh b/plugins/themes/themes.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/thor/_thor b/plugins/thor/_thor old mode 100644 new mode 100755 diff --git a/plugins/tmux/tmux.extra.conf b/plugins/tmux/tmux.extra.conf old mode 100644 new mode 100755 diff --git a/plugins/tmux/tmux.only.conf b/plugins/tmux/tmux.only.conf old mode 100644 new mode 100755 diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/tmuxinator/_tmuxinator b/plugins/tmuxinator/_tmuxinator old mode 100644 new mode 100755 diff --git a/plugins/torrent/torrent.plugin.zsh b/plugins/torrent/torrent.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/urltools/urltools.plugin.zsh b/plugins/urltools/urltools.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/vagrant/_vagrant b/plugins/vagrant/_vagrant old mode 100644 new mode 100755 diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/virtualenv/virtualenv.plugin.zsh b/plugins/virtualenv/virtualenv.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh b/plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/vundle/vundle.plugin.zsh b/plugins/vundle/vundle.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/wakeonlan/README b/plugins/wakeonlan/README old mode 100644 new mode 100755 diff --git a/plugins/wakeonlan/_wake b/plugins/wakeonlan/_wake old mode 100644 new mode 100755 diff --git a/plugins/wakeonlan/wakeonlan.plugin.zsh b/plugins/wakeonlan/wakeonlan.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/yum/yum.plugin.zsh b/plugins/yum/yum.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/zeus/README.md b/plugins/zeus/README.md old mode 100644 new mode 100755 diff --git a/plugins/zeus/_zeus b/plugins/zeus/_zeus old mode 100644 new mode 100755 diff --git a/plugins/zeus/zeus.plugin.zsh b/plugins/zeus/zeus.plugin.zsh old mode 100644 new mode 100755 diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template old mode 100644 new mode 100755 diff --git a/themes/3den.zsh-theme b/themes/3den.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/Soliah.zsh-theme b/themes/Soliah.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/adben.zsh-theme b/themes/adben.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/af-magic.zsh-theme b/themes/af-magic.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/afowler.zsh-theme b/themes/afowler.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/alanpeabody.zsh-theme b/themes/alanpeabody.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/apple.zsh-theme b/themes/apple.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/arrow.zsh-theme b/themes/arrow.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/aussiegeek.zsh-theme b/themes/aussiegeek.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/awesomepanda.zsh-theme b/themes/awesomepanda.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/bira.zsh-theme b/themes/bira.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/blinks.zsh-theme b/themes/blinks.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/candy-kingdom.zsh-theme b/themes/candy-kingdom.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/candy.zsh-theme b/themes/candy.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/clean.zsh-theme b/themes/clean.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/cloud.zsh-theme b/themes/cloud.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/crcandy.zsh-theme b/themes/crcandy.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/crunch.zsh-theme b/themes/crunch.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dallas.zsh-theme b/themes/dallas.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/darkblood.zsh-theme b/themes/darkblood.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/daveverwer.zsh-theme b/themes/daveverwer.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dieter.zsh-theme b/themes/dieter.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dogenpunk.zsh-theme b/themes/dogenpunk.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dpoggi.zsh-theme b/themes/dpoggi.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dst.zsh-theme b/themes/dst.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dstufft.zsh-theme b/themes/dstufft.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/duellj.zsh-theme b/themes/duellj.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/eastwood.zsh-theme b/themes/eastwood.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/edvardm.zsh-theme b/themes/edvardm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/essembeh.zsh-theme b/themes/essembeh.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/evan.zsh-theme b/themes/evan.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/example.zsh-theme b/themes/example.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/fino-time.zsh-theme b/themes/fino-time.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/fino.zsh-theme b/themes/fino.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/fishy.zsh-theme b/themes/fishy.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/flazz.zsh-theme b/themes/flazz.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/fletcherm.zsh-theme b/themes/fletcherm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/fox.zsh-theme b/themes/fox.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/frisk.zsh-theme b/themes/frisk.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/frontcube.zsh-theme b/themes/frontcube.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/funky.zsh-theme b/themes/funky.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/fwalch.zsh-theme b/themes/fwalch.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gallifrey.zsh-theme b/themes/gallifrey.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gallois.zsh-theme b/themes/gallois.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/garyblessington.zsh-theme b/themes/garyblessington.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gentoo.zsh-theme b/themes/gentoo.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/geoffgarside.zsh-theme b/themes/geoffgarside.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gianu.zsh-theme b/themes/gianu.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gnzh.zsh-theme b/themes/gnzh.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gozilla.zsh-theme b/themes/gozilla.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/half-life.zsh-theme b/themes/half-life.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/humza.zsh-theme b/themes/humza.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/imajes.zsh-theme b/themes/imajes.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/intheloop.zsh-theme b/themes/intheloop.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/itchy.zsh-theme b/themes/itchy.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jaischeema.zsh-theme b/themes/jaischeema.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jbergantine.zsh-theme b/themes/jbergantine.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jispwoso.zsh-theme b/themes/jispwoso.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jnrowe.zsh-theme b/themes/jnrowe.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jonathan.zsh-theme b/themes/jonathan.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/josh.zsh-theme b/themes/josh.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jreese.zsh-theme b/themes/jreese.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jtriley.zsh-theme b/themes/jtriley.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/juanghurtado.zsh-theme b/themes/juanghurtado.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/junkfood.zsh-theme b/themes/junkfood.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/kafeitu.zsh-theme b/themes/kafeitu.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/kardan.zsh-theme b/themes/kardan.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/kennethreitz.zsh-theme b/themes/kennethreitz.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/kiwi.zsh-theme b/themes/kiwi.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/kolo.zsh-theme b/themes/kolo.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/kphoen.zsh-theme b/themes/kphoen.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/lambda.zsh-theme b/themes/lambda.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/linuxonly.zsh-theme b/themes/linuxonly.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/lukerandall.zsh-theme b/themes/lukerandall.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/macovsky-ruby.zsh-theme b/themes/macovsky-ruby.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/macovsky.zsh-theme b/themes/macovsky.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/maran.zsh-theme b/themes/maran.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mgutz.zsh-theme b/themes/mgutz.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mh.zsh-theme b/themes/mh.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/michelebologna.zsh-theme b/themes/michelebologna.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mikeh.zsh-theme b/themes/mikeh.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/miloshadzic.zsh-theme b/themes/miloshadzic.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/minimal.zsh-theme b/themes/minimal.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mortalscumbag.zsh-theme b/themes/mortalscumbag.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mrtazz.zsh-theme b/themes/mrtazz.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/murilasso.zsh-theme b/themes/murilasso.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/muse.zsh-theme b/themes/muse.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/nanotech.zsh-theme b/themes/nanotech.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/nebirhos.zsh-theme b/themes/nebirhos.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/nicoulaj.zsh-theme b/themes/nicoulaj.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/norm.zsh-theme b/themes/norm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/obraun.zsh-theme b/themes/obraun.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/philips.zsh-theme b/themes/philips.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/pmcgee.zsh-theme b/themes/pmcgee.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/pygmalion.zsh-theme b/themes/pygmalion.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/re5et.zsh-theme b/themes/re5et.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/rgm.zsh-theme b/themes/rgm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/risto.zsh-theme b/themes/risto.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/rixius.zsh-theme b/themes/rixius.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/rkj-repos.zsh-theme b/themes/rkj-repos.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/rkj.zsh-theme b/themes/rkj.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/sammy.zsh-theme b/themes/sammy.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/simonoff.zsh-theme b/themes/simonoff.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/simple.zsh-theme b/themes/simple.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/skaro.zsh-theme b/themes/skaro.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/smt.zsh-theme b/themes/smt.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/sorin.zsh-theme b/themes/sorin.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/sporty_256.zsh-theme b/themes/sporty_256.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/sunaku.zsh-theme b/themes/sunaku.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/sunrise.zsh-theme b/themes/sunrise.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/superjarin.zsh-theme b/themes/superjarin.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/suvash.zsh-theme b/themes/suvash.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/takashiyoshida.zsh-theme b/themes/takashiyoshida.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/terminalparty.zsh-theme b/themes/terminalparty.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/theunraveler.zsh-theme b/themes/theunraveler.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/tjkirch.zsh-theme b/themes/tjkirch.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/tjkirch_mod.zsh-theme b/themes/tjkirch_mod.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/tonotdo.zsh-theme b/themes/tonotdo.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/trapd00r.zsh-theme b/themes/trapd00r.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/wedisagree.zsh-theme b/themes/wedisagree.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/wezm+.zsh-theme b/themes/wezm+.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/wezm.zsh-theme b/themes/wezm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/wuffers.zsh-theme b/themes/wuffers.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/xiong-chiamiov-plus.zsh-theme b/themes/xiong-chiamiov-plus.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/xiong-chiamiov.zsh-theme b/themes/xiong-chiamiov.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/ys-lambda.zsh-theme b/themes/ys-lambda.zsh-theme new file mode 100755 index 000000000..ab4f2d556 --- /dev/null +++ b/themes/ys-lambda.zsh-theme @@ -0,0 +1,34 @@ +# Clean, simple, compatible and meaningful. +# Tested on Linux, Unix and Windows under ANSI colors. +# It is recommended to use with a dark background and the font Inconsolata. +# Colors: black, red, green, yellow, *blue, magenta, cyan, and white. +# +# http://ysmood.org/wp/2013/03/my-ys-terminal-theme/ +# Mar 2013 ys + +# Machine name. +function box_name { + [ -f ~/.box-name ] && cat ~/.box-name || hostname -s +} + +# Directory info. +local current_dir='${PWD/#$HOME/~}' + +# Git info. +local git_info='$(git_prompt_info)' +ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[white]%}on%{$reset_color%} git:%{$fg[cyan]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}x" +ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}o" + +# Prompt format: \n # USER@MACHINE in DIRECTORY on git:BRANCH STATE [TIME] \n $ +PROMPT=" +%{$terminfo[bold]$fg[blue]%}Λ%{$reset_color%} \ +%{$fg[cyan]%}%n\ +%{$fg[white]%}@\ +%{$fg[green]%}$(box_name)\ +%{$fg[white]%}:\ +%{$terminfo[bold]$fg[yellow]%}${current_dir}%{$reset_color%}\ +${git_info} \ +%{$fg[white]%}[%*] +%{$terminfo[bold]$fg[red]%}λ %{$reset_color%}" diff --git a/themes/ys.zsh-theme b/themes/ys.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/zhann.zsh-theme b/themes/zhann.zsh-theme old mode 100644 new mode 100755 diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh old mode 100644 new mode 100755 diff --git a/tools/uninstall.sh b/tools/uninstall.sh old mode 100644 new mode 100755 diff --git a/tools/upgrade.sh b/tools/upgrade.sh old mode 100644 new mode 100755