summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2015-08-18Add clipcopy() and clippaste() generic cross-platform CLI clipboard functions.Andrew Janke
Change copydir, copyfile, and coffee plugins to use them, instead of the Mac-only `pbcopy` command.
2015-08-17Merge branch 'master' into fold-terminalapp-plugin-into-termsupportAndrew Janke
2015-08-17Add defensive `emulate -L zsh` to termsupport functionsAndrew Janke
2015-08-17Add a deprecation comment.Andrew Janke
2015-08-12Merge pull request #4233 from apjanke/apple-term-no-dupe-folder-in-titleRobby Russell
termsupport: avoid repeated dir in window title in Terminal.app
2015-08-12Merge pull request #4217 from mcornella/standard-open-commandRobby Russell
Implement and use a standard, cross-platform open command
2015-08-12Merge pull request #4203 from apjanke/title-protect-promptsubstRobby Russell
termsupport: protect title() with `emulate -L zsh` for portability
2015-08-12Merge pull request #2106 from adepasquale/masterRobby Russell
Added ssh-like mosh window title
2015-08-09Move urlencode/urldecode functions to core libAndrew Janke
2015-08-09termsupport: avoid repeated dir in window title in Terminal.appAndrew Janke
2015-08-05Implement cross-platform open function open_command()Marc Cornellà
For now this supports: - Mac OS X - Linux (presumably works on all versions) - Cygwin (Windows)
2015-07-31termsupport: protect title() with `emulate -L zsh`Andrew Janke
This prevents it from malfunctioning when `setopt prompt_subst` is off.
2015-07-22diagnostics: include output file name in dump outputAndrew Janke
2015-07-11Insecure completion handler added.leycec
A new "lib/compfix.zsh" script defining a new handle_completion_insecurities() function has been added, which handles insecure completion directories by notifying users of said insecurities and moving away all existing completion caches to a temporary directory. While intended to be called at startup, this function is generally callable at any time (e.g., for testing).
2015-07-11The executable command on Mac OSX is 'ack' rather than 'ack-grep'.Bin Huang
2015-07-09diagnostics: include detailed OS version info if possibleAndrew Janke
2015-06-28omz_diagnostic_dump: Add umask and $fpath listing.Andrew Janke
This helps catch issues with compinit and insecure directories.
2015-06-15In addition to the already existing variables ZSH_THEME_GIT_PROMPT for behind,Michele Bologna
ahead and diverged remote, I added ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE.
2015-06-14Add missing space causing parse error.Ali Afshar
2015-06-14Merge pull request #3838 from forivall/hyphen-insensitiveRobby Russell
Add hyphen insensitivity
2015-06-14Merge pull request #3986 from evilhamsterman/masterRobby Russell
Only load url-quote-magic if it is available.
2015-06-10Only load url-quote-magic if it is available.Dan Mills
Partially fixes #3614
2015-06-10Add git_prompt_behind and git_prompt_existsAdam Lindberg
This adds two new theme functions for git: * `git_prompt_behind` works in a identical fashion to `git_prompt_ahead` and will output a format variable (`ZSH_THEME_GIT_PROMPT_BEHIND`) if the branch is behind. * `git_prompt_remote` will output one format variable if the branch exists on remote (`ZSH_THEME_GIT_PROMPT_REMOTE_EXISTS`), and another if the branch is unpublished (`ZSH_THEME_GIT_PROMPT_REMOTE_MISSING`). The old `git_prompt_ahead` has been changed. Using git log is subject to formatting in .gitconfig, which can be overridden and will break this function. Relying on rev-list is much more stable.
2015-06-10Added a possibility to display the remote branch and the number of commits ↵leif.hanack
you are ahead or behind
2015-06-10Recognize comments by default.Tejas Bubane
2015-06-08Fix the spectrum_ls implementation in spectrum.zshAndrew Janke
2015-06-08Hide spectrum.zsh var values to avoid junky "set" output to terminalAndrew Janke
2015-06-06Fix name of backed-up zshrcAndrew Janke
2015-06-06diagnostics: add zstyle state to outputAndrew Janke
2015-06-06Include some bash rc files; improve formatting; more version infoAndrew Janke
2015-05-29Add omz_diagnostic_dump() to help with bug reports.Andrew Janke
2015-04-29Add hyphen insensitivityJordan Klassen
2015-02-22Merge pull request #3538 from TheLinuxKitten/grep-if-colorRobby Russell
Test if --color=auto is a valid option for grep
2015-02-21Merge pull request #3597 from apjanke/no-dot-in-cdpathRobby Russell
Remove '.' from $cdpath to avoid Cygwin breakage
2015-02-21Add support for variant "utf8" locale suffix spelling. Fix dumb bug in iconv ↵Andrew Janke
call that would cause it to hang.
2015-02-21Remove unnecessary braces.Andrew Janke
2015-02-17For unspecified encodings, assume it's UTF-8 or compatible (e.g. ASCII) and ↵Andrew Janke
muddle through without character encoding conversion.
2015-02-17Add support for non-UTF-8 encodings in caller's locale.Andrew Janke
2015-02-16Do not put explicit dot in $cdpath, since it causes problems on Cygwin due ↵Andrew Janke
to an underlying zsh bug.
2015-02-15Bring back -h option to ls variantsZhiming Wang
The -h options in l, ll, and la were lost in 25b1cd6. There's no reason to remove them.
2015-02-14In termsupport, use LC_CTYPE instead of LANG to enable byte-by-byte text ↵Andrew Janke
processing. LANG doesn't seem to actually work.
2015-02-14Remove terminalapp plugin and fold its implementation in to ↵Andrew Janke
lib/termsupport.zsh. Replaces the redundant Terminal.app support that was recently added to termsupport.
2015-02-13Extract CWD notifier back out of auto-title hooksMarc Cornellà
2015-02-10Merge pull request #3568 from mcornella/apjanke-title-disable-checkRobby Russell
Repost #3426: move DISABLE_AUTO_TITLE check to hooks
2015-02-10Temporarily delete over-engineered solutionMarc Cornellà
2015-02-10Fix for bad LC_CTYPE entryfrozen_dude
LANG is a colon-separated list of prefered locales; LC_CTYPE is single entry, therefore we need to remove all but one entry. Also, there is no need setting it if it is already set (LC_ALL also sets LC_CTYPE, so we check it too).
2015-02-10Use quoted $TERM value everywhereMarc Cornellà
2015-02-10Quick-fix code styleMarc Cornellà
2015-02-10term: Move DISABLE_AUTO_TITLE check to hooksAndrew Janke
Move the DISABLE_AUTO_TITLE check from title() to the preX hook functions that call it, to allow the title() function to be used directly by user or other callers.
2015-02-10Clean up appearance lib file and redundant `colors` calls in other filesMarc Cornellà