summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-06-05Added ssh-like mosh window titleAndrea De Pasquale
Display the hostname when running Mosh (http://mosh.mit.edu/). Same thing as displaying "hostname" when running "ssh hostname".
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
2014-04-19set exclude-dir or exclude grep flags only if availableDmitriy
2014-03-27Merge pull request #2661 from mcornella/fix_title_tab_percentRobby Russell
Fix escaping of $CMD of automatic title
2014-03-26Fix broken reverse-menu-complete keybinding.Andre Eriksson
Since e537ee9, the reverse-menu-complete keybinding has no longer been properly bound (it was accidentally bound to the delete key). This commit again binds it to shift-tab.
2014-03-25Escape % in $CMD variableMarc Cornellà
Fixes formatting on some rare cases when a percent ends up in the $CMD variable, like these below: - When assigning a variable, $CMD ends up with the second parameter; in this case, $CMD will contain '+%s%N', messing with the syntax: $ a=`date +%s%N` - A function (or command in general) that contains a percent symbol: $ to\%() { echo $(( $1 * 100 / $3))\% } # $CMD=to%() $ to% 2 of 10 # $CMD=to%
2014-03-23Merge pull request #2390 from LFDM/updating_spectrumRobby Russell
Updates and refactors spectrum.zsh
2014-03-23Fix export syntax of $GREP_OPTIONSMarc Cornellà
Fixes #2641, #2642
2014-03-22Merge pull request #1162 from nXqd/patch-1Robby Russell
avoid VCS folders
2014-03-22Merge pull request #750 from blueyed/history-drop-default-append-historyRobby Russell
`setopt append_history` is not necessary.
2014-03-21Added a forward-delete fallback to bind Delete keyAlexei Danchenkov
Delete key (of Fn+Delete on Mac) would print "~" instead of deletion.
2014-03-20Aligned commentsAlexei Danchenkov
2014-03-20Update key-bindings.zshAlexei Danchenkov
Aligned comments
2014-03-20added terminfo keys verificationAlexei Danchenkov
2014-03-16Ignore more users in ssh completion.Mariusz Fik
Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
2014-03-15Merge pull request #2602 from blueyed/use-default-hosts-completion-2Robby Russell
Use zsh's default for ':completion:*:hosts'
2014-03-13Merge pull request #2591 from kevinxucs/remove-extra-aliasesRobby Russell
Removed unsolicited aliases.
2014-03-13Use zsh's default for ':completion:*:hosts'Daniel Hahler
The manual configuration of ':completion:*:hosts' causes some problems (e.g. issue #1337), and misses useful information (especially from ~/.ssh/known_hosts; issue #690 and issue #1009). The best option appears to be using zsh's default configuration for ':completion:*:hosts'. While rebasing this for a new pull request (#1498 got closed by accident and then requests to re-open it got ignored), it also drops the `users off` setting: completion of user names can be useful, and the commit adding it (c4434d2) does not state why.
2014-03-13Merge pull request #1355 from F30/key-bindingsRobby Russell
Use terminfo key codes instead of hardcoded ones for key bindings
2014-03-10Removed unsolicited aliases.Kaiwen Xu
Those aliases should be in user's .zshrc file, instead of being default.