summaryrefslogtreecommitdiff
path: root/lib/misc.zsh
AgeCommit message (Collapse)Author
2022-07-12chore(lib): only create `afind` alias if `ack` is installed (#11017)hellzbellz
2020-04-05lib: speed up slow parts of the lib files; other small fixesMarc Cornellà
2019-10-16lib: allow alias expansion in _ sudo alias (#8268)Shahin Sorkh
2019-08-19lib: delete LC_CTYPE locale setting which causes problemsMarc Cornellà
Fixes #7942
2019-05-11lib: add ability to disable magic functionsMarc Cornellà
Fixes #5499 Fixes #5569 Fixes #6338 Fixes #6654 Fixes #6255 Fixes #7632 Closes #7763 Co-authored-by: Daniel Galán y Martins <git@galan.de>
2019-01-20misc: remove please alias to sudoMarc Cornellà
Fixes #7527
2018-09-09lib: quote arguments to env_defaultMarc Cornellà
Fixes #7117
2018-08-02Revert "add -F and -X to default $LESS environment variable (#6611)"Marc Cornellà
This reverts commit 9544316ef95c2aa1e75101a7dce545b4604b3ca6. This setting broke mouse / touchpad scroll on programs using `less` output due to it not using the alternate screen buffer. Fixes #7025
2018-07-24add -F and -X to default $LESS environment variable (#6611)Lars Schneider
The option '-F' causes 'less' to automatically quit if the contents fit the screen and the option '-X' causes 'less' to not clear the screen after quit. I think both options are generally useful for terminal applications. They are in particular useful for Git as it runs all output through a pager. Git will run 'less' with '-FRX' by default if the environment variable $LESS is not defined [1]. Since oh-my-zsh used to set $LESS to '-R', Git would not override this setting. Consequently, Git would display even a single line of output in a pager and the user would need to explicitly quit that pager (see mailing list discussion [2]). Therefore, lets change the oh-my-zsh default value for $LESS to '-FRX'. This would be useful for oh-my-zsh Git users and likely for users of other applications that use 'less' too. [1] https://github.com/git/git/blob/36438dc19dd2a305dddebd44bf7a65f1a220075b/Documentation/config.txt#L819-L821 [2] https://public-inbox.org/git/2412A603-4382-4AF5-97D0-D16D5FAAFE28@eluvio.com/
2016-11-16fix(env): Do not override misc env set before sourcing oh-my-zsh (#5231)Derek Frank
Sourcing oh-my-zsh happens in zshrc, which will override settings of profile and zshenv. Treat misc values, `PAGER` and `LESS`, as default settings without overriding existing values. Fixes: #1, robbyrussell/oh-my-zsh#3016
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-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-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-07-11The executable command on Mac OSX is 'ack' rather than 'ack-grep'.Bin Huang
2015-06-14Add missing space causing parse error.Ali Afshar
2015-06-14Merge pull request #3986 from evilhamsterman/masterRobby Russell
Only load url-quote-magic if it is available.
2015-06-10Only load url-quote-magic if it is available.Dan Mills
Partially fixes #3614
2015-06-10Recognize comments by default.Tejas Bubane
2015-02-10Temporarily delete over-engineered solutionMarc Cornellà
2015-02-10Fix for bad LC_CTYPE entryfrozen_dude
LANG is a colon-separated list of prefered locales; LC_CTYPE is single entry, therefore we need to remove all but one entry. Also, there is no need setting it if it is already set (LC_ALL also sets LC_CTYPE, so we check it too).
2015-02-10Moves a bindkey call from misc to key-bindings.LFDM
2015-02-10Moves remaining aliases to misc and deletes file.LFDM
There were only three aliases left in aliases.zsh File deleted!
2012-10-13Set the '-R' option for less not in $PAGER, but as $LESS.Felix Dreissig
2012-03-01Pager is 'less -R' to support colored outputsRotem Yaari
2011-07-23More generic.hobbestigrou
2009-11-04Joined the appearance so the theme can apply LSCOLORS tooToon Claes
2009-10-01run update check *after* running custom configuration scripts.Jon Evans
This means we are running it after $PATH has potentially been set up, which means it's more likely that commands like "git" will be found
2009-09-23Oh My Zsh gets a weekly auto-updater... the future is now!Robby Russell
2009-09-23put everything in libJames Cox