summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-10Merge pull request #3525 from apjanke/term-pwd-in-precmdRobby Russell
Move pwd update output to precmd to avoid contamination
2015-02-04Reword comments on termsupport internal functions.Andrew Janke
2015-01-31Merge pull request #3478 from stephenrjohnson/custom_cache_dirRobby Russell
Allow custom cache dir
2015-01-27Move chpwd update output from chpwd hook to precmd to avoidAndrew Janke
contaminating script/function output
2015-01-08Allow custom cache dirStephen
We are running oh-my-zsh on a shared install and the only issue is each user having a custom cache dir. This will allow us to set the cache dir to ZSH_CACHE_DIR=~/oh-my-zsh/cache/ .
2014-12-21termsupport: add chpwd hook for setting pwd in Apple Terminal.appAndrew Janke
2014-12-19Merge pull request #3409 from unixorn/prevent-variable-clobberingRobby Russell
Add quoting to nvm.sh
2014-12-16Quote path in case $HOME has a space in it.Joe Block
I've seen stranger things on OS X, unfortunately. This reverts commit 1f5cecee4768be192e439a72a873a6cfe8720927.
2014-12-15Revert PR #3359 as this is breaking stuff for many folks. Need to rethink ↵Robby Russell
how we handle system defaults differently on this
2014-12-14Merge pull request #3359 from unixorn/dont-clobber-histsize-and-savehistRobby Russell
Don't clobber $HISTSIZE and $SAVEHIST
2014-12-14Merge pull request #3326 from DanielFGray/masterRobby Russell
ignore any grep aliases that might be defined
2014-12-13Change to alias and remove deprecated GREP_COLOROndřej Súkup
2014-12-13Tidy up the grep.zsh libraryMarc Cornellà
2014-12-13Use unaliased grep in flag checkMarc Cornellà
2014-12-13Ignore .bzr folders in grep tooMarc Cornellà
2014-12-13Extract VCS folders definition to avoid repetitionMarc Cornellà
2014-11-30Existing code indents with spaces, not tabs, conform.Joe Block
2014-11-30Don't clobber HISTSIZE or SAVEHIST if they're already setJoe Block
2014-11-19Switch back to oh-my-zsh.hide-dirty setting againMarc Cornellà
Commit 81004dfaba509ff62a13ba303ab941938d619326 reverted the change in 9b811fb625c03c30a766191cdf65a1c7c1fd96b2 when editing the merge conflict from #2928. This commit fixes that so that we don't make the same mistake again. First seen in http://git.io/Cdaj5Q
2014-11-16ignore any grep aliases that might be definedDanielFGray
2014-11-06Change all whoami calls for $USER variableMarc Cornellà
This avoid spawning additional processes, as the $USER variable will **always** contain the current logged-in user.
2014-11-06Merge pull request #2946 from moinakg/masterRobby Russell
Solaris portability tweaks.
2014-11-062928 merge conflictRobby Russell
2014-11-06Merge pull request #2323 from michaelorr/slow-git-fixRobby Russell
Renaming config for parse_git_dirty() to avoid collision
2014-10-22Don't set auto_name_dirs because it messes up promptsMarc Cornellà
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in https://github.com/wayneeseguin/rvm/issues/3091#issuecomment-60083194 Related issues: https://github.com/robbyrussell/oh-my-zsh/issues/2857 https://github.com/robbyrussell/oh-my-zsh/issues/3238 https://github.com/wayneeseguin/rvm/issues/3091
2014-09-16Update Solaris changes to use OSTYPE and zsh datetime module.Moinak Ghosh
2014-08-31Merge pull request #3045 from fornwall/remove-usr-binRobby Russell
Replace /usr/bin/env with env
2014-08-31Merge pull request #3053 from jingweno/patch-1Robby Russell
Fix missing add-zsh-hook
2014-08-31Merge pull request #3055 from sachin21/remove_aliasRobby Russell
This alias is conflict cause.
2014-08-24This alias is conflict causesachin21
2014-08-22Fix missing add-zsh-hookJingwen Owen Ou
In older version of zsh, `add-zsh-hook` is not available, causing issues like: ``` /Users/hugo/.oh-my-zsh/lib/termsupport.zsh:32: add-zsh-hook: function definition file not found /Users/hugo/.oh-my-zsh/lib/termsupport.zsh:33: add-zsh-hook: function definition file not found ``` See https://github.com/robbyrussell/oh-my-zsh/issues/748. This patch pulls in the changes suggested in https://github.com/robbyrussell/oh-my-zsh/issues/748#issuecomment-37862691 by @mcornella and I have tested it on RHEL 5.
2014-08-20Replace /usr/bin/env with envFredrik Fornwall
Some environments (such as Android) does not have /usr/bin.
2014-07-15Merge pull request #2828 from r3dDoX/masterRobby Russell
removed a hardcoded 'origin' in git.zsh and added new function for number of commits ahead of remote
2014-07-11Solaris portability tweaks.Moinak Ghosh
2014-07-03Fix POST_1_7_2_GIT check for parse_git_dirty submodules.Simon Buchan
2014-07-03Fix parse_git_dirty() when status.branch is set.Simon Buchan
2014-06-28git_prompt_info: ignore git-config errorsAlbert Krewinkel
Merged from #2906 The function `git_prompt_info` calls `git config` for its stdout output, but doesn't handle the stderr output. This can lead to problems, e.g. if the git config file is unreadable for some reason (permissions etc). This fixes the issue by simply ignoring the stderr output.
2014-06-28Add missing `command` wrapper for gitMikhail S. Pobolovets
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2014-06-10ignore usernames beginning with underscoreWill Boyce
2014-06-10return 0 when not a git reponcanceill
before, 128 was returned, which could display an error, but out of a git repo this should exit silently fixes #2226
2014-05-26added prefix/suffix variable for customizabilityr3dDoX
2014-05-25added new function to get number of commits ahead of remoter3dDoX
2014-05-25replaced hardcoded origin/{branch-name} with @{upstream} which gets the ↵r3dDoX
upstream branch since git 1.7.0
2014-05-24Ordering nocorrect aliases alphabeticallySimon Courtois
2014-05-24Defining nocorrect aliases only when ENABLE_CORRECTION is "true"Simon Courtois
This commit move the nocorrect aliases definition so they're called only when the user set ENABLE_CORRECTION to "true" to activate commands autocorrection.
2014-04-19Merge pull request #2502 from UniIsland/patch-1Robby Russell
`fc -l 1` instead of `history` in zsh_stats, fixes #2501
2014-04-19Merge pull request #2650 from kemko/patch-1Robby Russell
don't add --exclude-dir to GREP_OPTIONS on FreeBSD