- 02 Aug, 2018 1 commit
-
-
Marc Cornellà authored
This reverts commit 9544316e. This setting broke mouse / touchpad scroll on programs using `less` output due to it not using the alternate screen buffer. Fixes #7025
-
- 24 Jul, 2018 1 commit
-
-
Lars Schneider authored
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/
-
- 13 Jul, 2018 1 commit
-
-
Cristian Consonni authored
-
- 02 Jul, 2018 1 commit
-
-
sam-lunt authored
* enable passing multiple directories to take * Update take function Do not call cd if mkdir fails
-
- 01 Jul, 2018 1 commit
-
-
Yuri Parsons authored
-
- 30 Jun, 2018 2 commits
-
-
Marc Cornellà authored
- Add double quotes to command so that the next argument isn't interpreted as the title for the start command. - If the first argument is a valid path, convert it to Windows path notation. If `wslpath` fails—because it's a path from inside WSL, which cannot be converted to Windows path notation— fail with an error code. This last circumstance will show an error like so: wslpath: path: Result not representable
-
Marc Cornellà authored
-
- 26 May, 2018 2 commits
-
-
Marc Cornellà authored
This error message will give information on what exactly has happened and how to either solve ownership and permissions or disable the check entirely. Also gets rid of the purge of compinit caches since with the current logic insecure completion directories are ignored and therefore haven't tainted the cached files.
-
-
- 07 May, 2018 1 commit
-
-
Marc Cornellà authored
Fixes #3775, fixes #6543
-
- 24 Apr, 2018 1 commit
-
-
Marc Cornellà authored
This will work only on files and directories in a DrvFs mount, i.e. that can be translated to a Windows drive path. For example: /mnt/c/Users/user. Files and folders inside the LXSS directory can't be handled in Windows, they must be ONLY used by the WSL subsystem. That's why you won't be able to open your $HOME directory, for instance. See https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/
-
- 22 Apr, 2018 8 commits
-
-
Marc Cornellà authored
This fixes the old behavior which made it so all duplicates would be deleted if the command history filled up with unique events. > You should be sure to set the value of HISTSIZE to a larger number > than SAVEHIST in order to give you some room for the duplicated > events, otherwise this option will behave just like HIST_IGNORE_ALL_DUPS > once the history fills up with unique events.
-
Marc Cornellà authored
The option inc_append_history already has the same effect.
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
-
Marc Cornellà authored
This commit changes the history alias into a function which puts the passed arguments before `-l 1`. It also provides a temporary workaround to the lack of a `history -c` command in zsh. For more information see issues 739 and 789.
-
- 15 Apr, 2018 1 commit
-
-
Jacopo De Simoi authored
If @{u} is not defined, git rev-list will give an error; redirect to stderr the error and deal with this case in what follows.
-
- 23 Jan, 2018 1 commit
-
-
Kimberly Zick authored
Add match for `MM` (result of `git commit -p` on a single changed file) to git_prompt_status (#3632)
-
- 14 Nov, 2017 1 commit
-
-
catull authored
With zsh 5.4 a simple "local FLAGS" meant as an array must be explicitly declared so. This fix avoids the dreaded "parse_git_dirty:3: FLAGS: attempt to assign array value to non-array". (#6414)
-
- 30 Dec, 2016 2 commits
-
-
Patrick José Pereira authored
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
-
Patrick José Pereira authored
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
-
- 15 Nov, 2016 1 commit
-
-
Derek Frank authored
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
-
- 03 Nov, 2016 1 commit
-
-
mingang.he authored
-
- 02 Nov, 2016 2 commits
-
-
Eduardo Cuomo authored
-
Marc Cornellà authored
`gls` seems to be installed by default or on most macOS systems, but its default color scheme sucks. This fix will make sure to only use it if it has been customised prior to running OMZ. Related: #5516, #5520.
-
- 11 Oct, 2016 1 commit
-
-
Marc Cornellà authored
Fixes #5520.
-
- 10 Oct, 2016 4 commits
- 03 Oct, 2016 4 commits
-
-
Marc Cornellà authored
-
Marc Cornellà authored
Also, force the use of Bourne-style shell syntax with `dircolors -b`.
-
Marc Cornellà authored
-
Hong Xu authored
GNU coreutils ship a color setup command by default which can be used to set a good default color theme for ls: https://www.gnu.org/software/coreutils/manual/html_node/dircolors-invocation.html
-
- 21 Sep, 2016 2 commits
-
-
Marc Cornellà authored
-
Gravemind authored
This deletes the previous hack that allowed completing files with the extension: e.g. `abcd.z` to `abcdefg.z`. It is still possible to use `abcd[TAB].z`, and hyphens or underscores are very much more important than this other trick. Source: https://github.com/robbyrussell/oh-my-zsh/issues/1398#issuecomment-169163149 Signed-off-by: Marc Cornellà <marc.cornella@live.com>
-
- 07 Sep, 2016 1 commit
-
-
Yuichi Tanikawa authored
-