Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-05 | lib: support konsole* $TERM in title function (#8035) | Marc Cornellà | |
2020-03-03 | lib: automatic title: replace fg with description from jobs (#7982) | Marc Cornellà | |
* Automatic title: Replace fg with description from jobs * Avoid error messages when there is no job * Use $jobstates and $jobtexts to look for jobs `jobs %string` doesn't work correctly when run inside `$()`. `$jobstates` and `$jobtexts` is available in the current shell process, so even though we need to replicate a bit more logic, every type of `fg` invocation works correctly. * lib: clean up termsupport.zsh Co-authored-by: Marc Cornellà <marc.cornella@live.com> | |||
2020-03-03 | lib: clean up termsupport.zsh | Marc Cornellà | |
2020-03-03 | Use $jobstates and $jobtexts to look for jobs | Marc Cornellà | |
`jobs %string` doesn't work correctly when run inside `$()`. `$jobstates` and `$jobtexts` is available in the current shell process, so even though we need to replicate a bit more logic, every type of `fg` invocation works correctly. | |||
2020-02-28 | lib: urlencode hostname in update_terminalapp_cwd (#6245) | Stephen Heuer | |
Apple's Terminal doesn't open a new tab in your current directory if your hostname has UTF-8 characters in it. Percent encoding the host in addition to the path in update_terminalapp_cwd appears to solve this issue. Co-authored-by: Marc Cornellà <marc.cornella@live.com> | |||
2019-11-19 | Use safer append to hook function arrays (#8406) | Jacob Tomaw | |
Use add-zsh-hook to add functions to hooks. That way they won't be added again when doing `source ~/.zshrc` multiple times. Co-authored-by: Marc Cornellà <marc.cornella@live.com> | |||
2019-07-07 | Avoid error messages when there is no job | Erik Demaine | |
2019-07-06 | Automatic title: Replace fg with description from jobs | Erik Demaine | |
2019-03-21 | termsupport: add support for tmux* $TERM values (#7622) | Jeremy Armstrong | |
2018-08-07 | use https everywhere (#6574) | Janosch Schwalm | |
* use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections. | |||
2015-12-14 | Fix indentation | moyamo | |
2015-12-14 | Default to using terminfo to set the terminal title | moyamo | |
Currently, the title is only set on supported terminals (i.e. xterm, urxvt, screen etc.). Using terminfo entries to set the terminal title adds support for many more terminals. | |||
2015-12-01 | Cleanup update_terminalapp_cwd function | Marc Cornellà | |
2015-12-01 | Quote all variables in if statements | Marc Cornellà | |
2015-12-01 | Use a case structure to id terminal types | Marc Cornellà | |
2015-12-01 | Added setting of the window title in Cygwin | Dawid Ferenczy | |
2015-12-01 | Support all kinds of putty-like terminal strings. | Ionel Cristian Mărieș | |
2015-11-30 | Add support for "putty" $TERM in termsupport.zsh | Ionel Cristian Mărieș | |
2015-11-27 | termsupport: protect subshell with quotes | Andrew Janke | |
2015-08-17 | Merge branch 'master' into fold-terminalapp-plugin-into-termsupport | Andrew Janke | |
2015-08-17 | Add defensive `emulate -L zsh` to termsupport functions | Andrew Janke | |
2015-08-12 | Merge pull request #4233 from apjanke/apple-term-no-dupe-folder-in-title | Robby Russell | |
termsupport: avoid repeated dir in window title in Terminal.app | |||
2015-08-12 | Merge pull request #4203 from apjanke/title-protect-promptsubst | Robby Russell | |
termsupport: protect title() with `emulate -L zsh` for portability | |||
2015-08-12 | Merge pull request #2106 from adepasquale/master | Robby Russell | |
Added ssh-like mosh window title | |||
2015-08-09 | Move urlencode/urldecode functions to core lib | Andrew Janke | |
2015-08-09 | termsupport: avoid repeated dir in window title in Terminal.app | Andrew Janke | |
2015-07-31 | termsupport: protect title() with `emulate -L zsh` | Andrew Janke | |
This prevents it from malfunctioning when `setopt prompt_subst` is off. | |||
2015-02-21 | Add support for variant "utf8" locale suffix spelling. Fix dumb bug in iconv ↵ | Andrew Janke | |
call that would cause it to hang. | |||
2015-02-21 | Remove unnecessary braces. | Andrew Janke | |
2015-02-17 | For unspecified encodings, assume it's UTF-8 or compatible (e.g. ASCII) and ↵ | Andrew Janke | |
muddle through without character encoding conversion. | |||
2015-02-17 | Add support for non-UTF-8 encodings in caller's locale. | Andrew Janke | |
2015-02-14 | In 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-14 | Remove 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-13 | Extract CWD notifier back out of auto-title hooks | Marc Cornellà | |
2015-02-10 | Use quoted $TERM value everywhere | Marc Cornellà | |
2015-02-10 | Quick-fix code style | Marc Cornellà | |
2015-02-10 | term: Move DISABLE_AUTO_TITLE check to hooks | Andrew 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-04 | Reword comments on termsupport internal functions. | Andrew Janke | |
2015-01-27 | Move chpwd update output from chpwd hook to precmd to avoid | Andrew Janke | |
contaminating script/function output | |||
2014-12-21 | termsupport: add chpwd hook for setting pwd in Apple Terminal.app | Andrew Janke | |
2014-08-22 | Fix missing add-zsh-hook | Jingwen 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-06-05 | Added ssh-like mosh window title | Andrea De Pasquale | |
Display the hostname when running Mosh (http://mosh.mit.edu/). Same thing as displaying "hostname" when running "ssh hostname". | |||
2014-03-25 | Escape % in $CMD variable | Marc 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-02-21 | Avoid 'title:parse error' with single quotes in $CMD | Marc Cornellà | |
Fixes #2182 | |||
2014-02-21 | Revert previous commit, escape % | Marc Cornellà | |
2014-02-21 | Use single quotes also in $LINE definiton | Marc Cornellà | |
2014-02-21 | Avoid evaluating special chars in $LINE on title command (fixes #2234) | Marc Cornellà | |
2013-06-11 | Escape both % and $ in the command line | Ehren Kret | |
Fixes issue #1884 | |||
2013-02-14 | Support for opening tabs and windows in the same This fixed #1498 for me on ↵ | Swanand Pagnis | |
Mountain Lion | |||
2012-12-31 | Fixes #1489 | Robby Russell | |
Revert "Fixed Mac OS X Terminal.app related issue with extra newlines being printed out sometimes" This reverts commit 8f89d4d5a5d584bae288d8111d83a6489a1369dc. |