cd21b15b65
[zsh] Add Python virtual environments configuration to init-env-python
2024-09-30 14:45:20 -07:00
be4d690e32
[zsh] Update all init-rc functions
2024-09-30 11:13:10 -07:00
1145ef23e1
[zsh] Move ~df to init-env-tilde-paths
2024-09-30 10:27:39 -07:00
2882bf085e
[zsh] Two enhancements to update-date
...
Reverse the candidates array (the list of positional arguments after options)
with the --prepend (or -p) option so that directories are prepended to the path
variable in the correct precedence.
Add a "force" option as -f or --force that will skip checking if a directory
exists and add the path even if it doesn't. As part of this change, add the
check that the directory exists.
2024-09-26 16:38:30 -07:00
db20fc1b14
[zsh] Clear $path before adding my own directories to it
2024-09-26 16:38:05 -07:00
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
b2974db133
[zsh] Move setting VISUAL to init-env-vi and remove LESSHISTFILE
2024-09-26 16:11:08 -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
f7f45b5b50
[zsh] Move the finder function to its own file
2024-09-26 15:42:36 -07:00
c260784e5d
[zsh] Clean up init-rc-darwin
2024-09-26 15:42:36 -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
aea4ff965e
[zsh] Add exit status to the prompt; fix a stray space
2024-09-26 15:42:36 -07:00
80e2915b89
[zsh] Add -P argument to update-path, allowing updating named path-like variable
2024-09-25 18:16:34 -07:00
7378513bba
[zsh] update-path: Add -P argument to take a path variable name; add a big usage message
2024-09-24 12:57:56 -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
02f5655426
[zsh] Add update-path function to replace append_to_path and prepend_to_path
2024-09-23 14:40:51 -07:00
4b566050af
[zsh] Embed connect_ssh_agent in a function
2024-08-02 18:31:38 -07:00
fd56b6b7b6
[pw] Remove this script
...
It doesn't work right on macOS and I never use it anyway.
2024-08-02 18:31:38 -07:00
ba04ffe644
[zsh] Rename darwin-icloud-drive-path to remove underscores
2024-06-25 10:09:52 -07:00
ae8955f99e
[zsh] Move the history number later in the prompt and add a numero sign
...
Show non-zero exit status after the history number as a red exclamation mark.
```
eryn in ~/.dotfiles on .dotfiles(main) №36407 at 10:06:48
%
```
2024-03-08 10:07:04 -08:00
d92641ae85
[zsh] Put the history number at the beginning of the top line of the prompt
2024-03-07 10:47:36 -08: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
ddf3de5a80
[zsh] Implement a homebrew-prefix function and use it when setting up fpath
...
# Conflicts:
# zshrc
2024-03-05 11:08:37 -08:00
a2bf66480c
[zsh] Add the history number to RPROMPT
2024-03-05 11:07:49 -08:00
f9ddfc336e
[zsh] Add an alias for v=vi
2024-01-25 13:36:32 -08:00
47a622250f
[nvim,zsh] Set up pyright LSP for Python development
2023-09-06 10:19:21 -07:00
6c622b0aaf
[zsh] Add init_xcode and call it from darwin_init_once; add ~df path to dotfiles
2023-08-26 07:59:43 -07:00
148c79d7b2
[zsh] Add neovim_init_once function
2023-08-25 08:01:25 -07:00
a4703c3509
[zsh] Unquote the Python Path in init_env_python
...
This was causing the for to loop through the characters of the string
rather than the directories in $pythonroot
2023-07-11 16:14:52 -07:00
f6774a6a13
[zsh] Add homebrew site-functions to fpath
2023-06-01 10:27:12 -07:00
21ebcac9d5
[zsh] Fix some coding amateur hour in the *_path functions
2023-03-30 10:44:00 -07:00
dd7de9628e
[zsh] Make init_env_python a function inside of its script file
2023-03-30 10:39:37 -07:00
aa6e81fdeb
[zsh] Clean up path functions; init_path wasn't being called after definition
2023-03-30 10:39:37 -07:00
0aaffa1cca
[zsh] Remove shebangs from binary_exists and init_env
2023-03-29 12:53:13 -07:00
9fa1756e45
[zsh] Echo the result of darwin-hardware-model instead of returning it
2023-03-29 12:53:13 -07:00
cdfbce2c4c
[zsh] Clean up init_path
2023-03-28 23:27:34 +00:00
5d74548f21
[zsh] Make prepend_to_path and append_to_path more interesting
...
Add a +e/-e argument (parsed with getopt) that conditionally exports $path.
2023-03-28 23:24:29 +00:00
18940fe091
[zsh] Remove init_profile_darwin_say_hello from init_profile_darwin
2023-03-28 10:53:27 -07:00
6f6129f071
[zsh] Use the darwin- system info functions in init_profile_darwin_say_hello
2023-03-28 10:50:59 -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
ace2f38ed2
[zsh] Remove duplicate Python setup in zsh_env_darwin
2023-03-28 10:50:59 -07:00
4c145641c5
[zsh] Background the ssh-add call in init_profile_darwin
2023-03-28 10:50:59 -07:00
75d8059bde
[zsh] Convert binary_exists into a function declared inside the script
2023-03-28 10:50:59 -07:00