1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 15:31:11 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Kaleb Elwert
3f556400e7 Avoid setting TMPDIR and make sure all modules handle that properly
Fixes #1206
2017-07-28 10:24:51 -07:00
Samantha McVey
a4ff6acd56 [runcoms/zprofile+zshenv] Ensure TMPDIR is always set
In some cases TMPDIR may not be set, in which case it could cause issues
for zsh modules.

This change was prompted by issue #1331.

Also when creating a missing TMPDIR, use mkdir --mode=700 instead
of creating the directory and then chmoding it afterward.
2017-06-26 14:58:37 -07:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu
e4e4f89c9f [Fix #523] Ensure zprofile exists before sourcing it 2014-01-03 13:37:36 -05:00
Robin
3a5fff9c6d Don't override customized environments in subshells
Only set up environment for the top-level shell, and allow it to be
inherited normally.

A top level shell is usually a login shell, but can also be a
non-interactive, non-login shell in certain cases, such as when
executing an SSH remote command.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2013-11-25 17:16:33 -05:00
Sorin Ionescu
c9c3b40b5c [Fix #437] Always set $TMPDIR 2013-05-23 15:58:55 -04:00
Sorin Ionescu
6e65349c45 [Fix #398] Manually set locale 2013-02-28 17:28:05 -05:00
Sorin Ionescu
6fd00449a6 [Fix #381] Remove the path_helper workaround 2013-01-28 18:06:14 -05:00
Sorin Ionescu
095863e6ae [Fix #385] Do not set $INFOPATH 2013-01-28 17:35:27 -05:00
Sorin Ionescu
e5de305157 [Fix #383] Do not set $MANPATH
man dynamically searches for man pages based on $PATH.
2013-01-28 17:34:55 -05:00
Georges Discry
39795d3e5e Fix lesspipe.sh detection in custom PATH
The detection of lesspipe.sh has to be done after setting PATH as it
could be installed in a non-standard bin directory. For example,
Homebrew installs lesspipe in /usr/local.
2013-01-23 17:01:57 +01:00
Sorin Ionescu
455cc0c6e5 Export $MANPATH and $INFOPATH 2013-01-12 11:31:29 -05:00
Sorin Ionescu
8cdf06e386 [#255] Use $ZDOTDIR or $HOME 2012-09-03 16:51:32 -04:00
Sorin Ionescu
fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
e8226dfaf3 Set $TMPPREFIX only when $TMPDIR is set 2012-09-03 14:43:01 -04:00
Sorin Ionescu
227043938f Fix a mkdir switch typo introduced in 68bbf22 2012-09-03 12:52:33 -04:00
Sorin Ionescu
e8ab2760c0 Sort zshenv sections for easier browsing 2012-08-31 20:52:53 -04:00
Sorin Ionescu
68bbf22992 Respect $TMPDIR in $TMPREFIX 2012-08-31 19:44:29 -04:00
Sorin Ionescu
df82640caa Rename templates to runcoms 2012-08-04 14:55:38 -04:00