Commit graph

34 commits

Author SHA1 Message Date
734ab0a7a5 [zsh] Bring back init-env-tilde-paths
Apparently it was load bearing
2024-09-26 16:19:28 -07:00
71cf2d52f6 [zsh] Remove init-env-unix
This stuff was folded into init-env.
2024-09-26 16:13:21 -07:00
a174790ed0 [zsh] Remove init-env-zsh-helpers -- those went to init-env 2024-09-26 16:10:46 -07:00
a64ae962ca [zsh] Add init-env back to the zshenv init functions
It somehow got dropped.
2024-09-26 16:05:49 -07:00
f2144fcbed [zsh] Give all the init-env functions consistent names 2024-09-26 15:42:36 -07:00
75e32e473a [zsh] Update init-env-python and init-env-playdate 2024-09-26 15:42:36 -07:00
a026b9c8a9 [zsh] Process fpath candidate paths in a loop in init-env-fpath 2024-09-26 10:06:20 -07:00
b5e8617cd8 [zsh] Rename init_env_fpath -> init-env-fpath 2024-09-24 12:55:43 -07:00
ae6fd37cf9 [zsh] Move init_env_vi -> init-vi and make it a proper function 2024-09-23 18:21:34 -07:00
9ef882cb84 [zsh] Remove init_system_parameters 2024-09-23 18:16:41 -07:00
1d4cd961ed [zsh] Move init_env_aliases to init-zsh-helpers 2024-09-23 18:16:14 -07:00
d16905313e [zsh] Clean up and move init_env to init-unix-env 2024-09-23 18:13:46 -07:00
2d43ef9a1e [zsh] Replace implementation of init_path with update-path call
Rename this function with hyphens instead of underscores.
2024-09-23 14:44:26 -07:00
661e5516e7 Add a mechanism for building a cache of "system parameters"
- Add a system_parameters module to eryntools that implements some basic types and can write a cache to a file.
- Add a system-parameters Python script that builds the cache.
- Add init_system_parameters to zsh that exports an environment variable that points to the parameters file
- Add an eryn.system-parameters.plist LaunchAgent file for running the script at regular intervals
2024-03-05 11:08:53 -08:00
d1e8f59c53 [zsh,nvim] Set up vim's &path based on zsh's FPATH 2023-03-29 12:53:13 -07:00
6276b5f40e [zsh] Move Darwin $OSBUILD, $OSVERSION, and $HWMODEL
Move them from init_env_Darwin to their own functions in the new zsh/func/darwin
directory.
2023-03-28 10:50:59 -07:00
c4dc2c71ae [zsh] Remove old header comments and sourcing .zshenv.local from .zshenv; add init_env_fpath() 2023-03-28 10:50:59 -07:00
7993439e1d [zsh] Add playdate SDK configuration to the shell 2023-03-20 08:42:43 -07:00
1fc6b06747 [zsh] Add init_env_aliases with some aliases to create maps and arrays 2022-10-20 09:20:29 -07:00
09ea02303d [zsh] Move vi init to init_env_vi; set EDITOR in that function 2022-05-28 09:16:07 -07:00
Eryn Wells
9937af9f49 [zsh] Convert the public init_env steps to do_init_functions 2022-05-25 14:12:06 -07:00
0226d26f94 [zsh] Get the output redirection right for autoloads 2022-05-20 15:12:14 +00:00
d630b1ea71 [zsh] Remoe +X from .zshenv prepend_to_path autoload 2022-01-25 17:26:56 -08:00
Eryn Wells
03a6f10522 [zsh] Convert zshenv autoloads to use -Uz instead of +X 2022-01-24 09:11:17 -08:00
1c2e9025cf [zsh] Do a bunch of profiling and clean up all my init functions -- shell init is so much faster now! 2022-01-22 10:13:05 -08:00
b09d523218 [zsh] Update shell init; use ZSH autoloaded functions instead of a bunch of files 2021-12-31 10:27:27 -08:00
75760856af [zsh] Fix path setup
- Add setup-path function that allows resetting the path at any time.
- macOS does a dumb thing where it resets your path with some helper binary in
  /etc/zprofile. Disable GLOBAL_RCS in .zshenv so it doesn't read system init
  files.
2018-04-14 09:41:42 -07:00
174afc2f06 Move shell agnostic stuff to .env from .zshenv 2012-07-20 09:49:03 -07:00
9bd3f7bc50 Move PYTHONPATH creation to env.* files 2012-04-23 15:02:25 -07:00
6f75e6798d Move some stuff around in zshenv, some to env 2012-04-16 12:16:07 -07:00
700dba30b6 Clean up zshenv, add hooks for system and local env scripts 2012-04-10 10:11:14 -07:00
aa32680758 Move local bin directories before base PATH in zshenv 2012-03-18 13:10:50 -07:00
55d6796e7a Set PYTHONPATH to include .local path 2011-12-16 16:14:35 -08:00
8799338169 Move some settings from profile to zshenv
.zshenv is run everytime a zsh instance is started, including subshells and the
like. Use this file, now, to set things like PATH and such that are used
frequently.

Add a setup symlink for .zshenv
2011-09-13 11:26:35 -07:00