summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
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.
2014-03-08Merge pull request #2341 from mcornella/title_backticksRobby Russell
Avoid evaluating special chars in $LINE on title command (fixes #2234)
2014-03-08Merge pull request #2287 from rumpelsepp/masterRobby Russell
Added/modified some useful aliases.
2014-02-21Avoid 'title:parse error' with single quotes in $CMDMarc Cornellà
Fixes #2182
2014-02-21Revert previous commit, escape %Marc Cornellà
2014-02-21Use single quotes also in $LINE definitonMarc Cornellà
2014-02-21Avoid evaluating special chars in $LINE on title command (fixes #2234)Marc Cornellà
2014-02-06`fc -l 1` instead of `history` in zsh_stats #2501Huang, Tao
$HIST_STAMP breaks zsh_stats. see #2501
2014-01-07No need to eval in rvm_prompt_info!LFDM
Just activate word-splitting.
2014-01-06Renames the file to prompt_info_functions.zshLFDM
2014-01-06Adds documentation.LFDM
2014-01-06Adds all other dummy implementations.LFDM
2013-12-31Updates spectrum.zshLFDM
2013-12-31Refactors ruby_prompts.zshLFDM
2013-12-31Joins ruby prompt files and adds ruby_prompt_info.LFDM
2013-12-31Adds chruby_prompt_info dummy function.LFDM
2013-12-31Returns false when rbenv is not found.LFDM
2013-12-31Returns false when rvm is not found.LFDM
2013-12-31Fixes rvm_prompt_info() in lib/rvm.zshLFDM
2013-12-06accidentally blew away a git config setting used for another purpose, ↵Michael Orr
renaming in order to distinguish
2013-12-04Making auto-correction off by defaultBob Bonifield
- Allows for the user to turn on auto-correction using the $ENABLE_CORRECTION variable - Adds aliases regardless of variable assignment to aid users that use setopt to turn correction back on in their zshrc
2013-12-03Merge pull request #2176 from dejanlukan/spectrumRobby Russell
Added the spectrum_bls function, which prints all 256 colors set as the background.