summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2015-12-01Added setting of the window title in CygwinDawid Ferenczy
2015-12-01Merge pull request #4651 from ionelmc/patch-1Marc Cornellà
Add support for "putty" $TERM in termsupport.zsh
2015-12-01Support all kinds of putty-like terminal strings.Ionel Cristian Mărieș
2015-11-30Use shwordsplit in open_command()Marc Cornellà
2015-11-30Add empty string parameter to start commandMarc Cornellà
Otherwise `start` will confuse the first parameter as the title of a new command prompt if the parameter contains whitespace. That is because the command to be run will be: start "abc def" which opens a new command prompt window with the title "abc def". With the added empty string we force the start command to interpret the passed parameter as the file / command: start "" "abc def" which will be interpreted like `""` is the title and the rest is the file or command to start. ------- **NOTE:** this wouldn't be necessary if the start script in msys was defined differently; that is, if it had the empty string already incorporated in the script (/usr/bin/start), like so: ```diff -cmd //c start "${@//&/^&}" +cmd //c start "" "${@//&/^&}" ``` Notice however that this would make it impossible to use start setting a different title, so it's probably best to leave it as is. More info: http://sourceforge.net/p/msys2/tickets/14/ ------- The change `${(z)open_cmd}` is necessary to force zsh to split the variable by the spaces and interpret it as separate words. More info: http://zsh.sourceforge.net/FAQ/zshfaq03.html#l17
2015-11-30make this work in the git-for-windows SDKMark Ingalls
Added an option for the msys value of $OSTYPE
2015-11-30Add support for "putty" $TERM in termsupport.zshIonel Cristian Mărieș
2015-11-29Fix open_command nohup callMarc Cornellà
There a syntax error if $cmd_var contains more than one word, so we drop the current way to prepend nohup and use a simpler if-else form.
2015-11-27termsupport: protect subshell with quotesAndrew Janke
2015-11-27Drop the use of nohup on OSX for tmux compatibilityMarc Cornellà
Apparently `nohup` is not needed in OSX, and using it has the side that it may break under tmux with the error nohup: can't detach from console: No such file or directory For now, this commit only drops the use of `nohup` in OSX. But it *may* not be necessary under other similar platforms.
2015-10-20Merge pull request #4473 from apjanke/5_1_1-bracketed-paste-hackMarc Cornellà
Disable bracketed-paste-magic in zsh 5.1.1, where it is buggy
2015-10-13Merge pull request #4475 from apjanke/diagdump-5.1-fixRobby Russell
diagnostics: fix for reserved-word changes in zsh 5.1
2015-10-09Merge pull request #4254 from apjanke/copyfile-portabilityRobby Russell
Cross-platform clipboard clipcopy() and clippaste()
2015-10-08diagnostics: fix for reserved-word changes in zsh 5.1Andrew Janke
Reference: https://github.com/zsh-users/zsh/blob/zsh-5.1.1/NEWS#L20-L32
2015-10-08Disable bracketed-paste-magic in zsh 5.1.1, where it is buggyAndrew Janke
A bracketed-paste-magic bug breaks pasting of CJK and some other characters in zsh 5.1.1. http://www.zsh.org/mla/workers/2015/msg02680.html See #4434
2015-10-05clip*: add xsel supportAndrew Janke
2015-10-03Fix 'ack-grep' bug for non-ubuntu usersJeff Smith
Redirect STDERR along with STDOUT when looking for ack-grep
2015-10-03Merge pull request #3165 from hbin/fix-alias-afind-osxRobby Russell
The executable command on Mac OSX is 'ack' rather than 'ack-grep'.
2015-09-28Merge branch 'master' into copyfile-portabilityAndrew Janke
2015-09-26Merge pull request #4337 from iCross/masterRobby Russell
fix url-quote-magic not working issue
2015-09-26Merge pull request #4387 from mbologna/fix_git_equal_remoteRobby Russell
Uniform git prompt equal remote
2015-09-23Correct repo dirshawn
cvs's metadata is under CVS and not .cvs
2015-09-23fix indentationMichele Bologna
2015-09-23Uniform git prompt equal remoteMichele Bologna
Uniform git prompt equal remote to all others prompts, setting the correct symbol (if applicable) to $git_remote_status, instead of echoing it. It also solves the problem pointed out in #3911
2015-09-19Merge pull request #4251 from mcornella/fix-completion-dotsRobby Russell
Fix completion waiting dots function
2015-09-19Merge pull request #3940 from apjanke/diagnostic-dump-functionRobby Russell
Add omz_diagnostic_dump() to help with bug reporting
2015-09-19Merge pull request #3911 from mbologna/git_remote_status_equalRobby Russell
added ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE
2015-09-19Merge pull request #3582 from apjanke/fold-terminalapp-plugin-into-termsupportRobby Russell
Fold terminalapp plugin in to lib/termsupport
2015-09-19Merge pull request #2751 from drm00/fix-openbsd-colorlsRobby Russell
add check for colored ls on openbsd. (retry of #2225)
2015-09-19Merge pull request #3889 from leycec/compauditRobby Russell
Repair `zsh` Path Permissions on `oh-my-zsh` Startup under Cygwin
2015-09-10fix url-quote-magic not working issue iCross
Incompatibilites between 5.0.8 and 5.1: bracketed-paste-magic may also be necessary in order to apply url-quote-magic. Reference: https://github.com/zsh-users/zsh/blob/a9df6aaa702abf761b155cd842a7f6917be44139/Functions/Zle/url-quote-magic#L11
2015-09-05Switch off line wrapping in case dots occupy extra lineMarc Cornellà
This commit uses the (hopefully) standard rmam and smam escape sequences which toggle off and on line wrapping respectively. This is so that extra dots that don't fit the current line won't be displayed in the next line, which would in turn make the shell display a new prompt on the next line after the dots are hidden. I've added a check for $terminfo rmam and smam values to be sure we have them before printing them out. If this commit breaks something post an issue with your terminal emulator and $TERM value and we'll figure out what went wrong.
2015-09-05Use prompt expansion sequence to color red the outputMarc Cornellà
This makes it clearer and possibly more portable for different platforms.
2015-09-05Use proper if comparisonMarc Cornellà
2015-09-04diagnostics: switch to shasum, filter sysinfo using linesAndrew Janke
shasum seems more widely available than md5/md5sum, and we don't have to worry about dealing with the different signatures and output formats of md5 and md5sum then. sysinfo outputs localized message labels, so we can't just grep for "OS Type". But OS is the first thing it outputs, so we can probably just grab those lines by line number. Switched to doing that.
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