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
f392afe533
[zsh] Fix the nethack function so it only triggers a remote session if you ask for it
2023-03-25 08:08:41 -07:00
aa81cb66eb
[zsh] Move open-xcode function to its own file and autoload it in zshrc
2023-03-20 10:09:48 -07:00
7993439e1d
[zsh] Add playdate SDK configuration to the shell
2023-03-20 08:42:43 -07:00
386b88ee9e
[zsh] Really for real fix the &>
and >&
IO redirection confusion
...
init_env_vi was still using it
2022-11-30 11:43:22 -08:00
adfc594420
[zsh] Get the hostname back
...
Use != instead of -ne when checking $TERM_PROGRAM. This has been this way for years;
I do not really understand why this is happening now.
2022-11-30 11:41:55 -08:00
11ce2cd5c7
[zsh] Fix up init functions
...
- Use autoload +X in do_init_functions
- Properly redirect stdout and stderr in do_init_functions and init_env_vi so
they don't print anything
2022-11-16 15:32:33 +00:00
3dacd0156d
[zsh] Add the time to the top line of the prompt
2022-10-31 10:27:21 -07:00
1fc6b06747
[zsh] Add init_env_aliases with some aliases to create maps and arrays
2022-10-20 09:20:29 -07:00
0883447a44
[zsh] Move vi init to init_env_vi; set EDITOR in that function
2022-10-20 08:18:37 -07:00
d2713240b1
[zsh] Remove nested function from darwin_configure_screenshots_directory
2022-07-19 09:21:33 -07:00
09ea02303d
[zsh] Move vi init to init_env_vi; set EDITOR in that function
2022-05-28 09:16:07 -07:00
4317bfd61e
[zsh] This IO redirection was bad; redirection stdout and err is >&, not &>
2022-05-26 14:50:19 -07:00
b2a1d2fc83
[zsh] Tweak IO redirection in init_rc_vi
2022-05-26 09:11:57 -07:00
97c1b8ad30
[zsh] Fiddling with IO redirection
2022-05-26 09:11:35 -07:00
c3be112691
[zsh] Enhance Darwin's say_hello to adapt to missing variables
2022-05-26 09:09:31 -07:00
98dd139677
[zsh,tmux] Set the tmux window name from the ZSH prompt
2022-05-26 09:09:31 -07:00
b82c83073c
[zsh] Remove arguments from these init functions
2022-05-26 09:06:15 -07:00
e8aae4ef89
[zsh] Move vi function to a simple alias in init_rc_vi
2022-05-26 09:06:15 -07:00
a66be0e49e
[zsh] Add /Users/eryn/Library/Developer/Xcode/DerivedData that points to Xcode's DerivedData
2022-05-25 15:13:21 -07:00
3addd3d3a2
[zsh] Move the hello message to its own Darwin-specific say_hello function
2022-05-25 15:10:08 -07:00
edf8034308
[zsh] Convert zprofile to do_init_functions
2022-05-25 14:37:29 -07:00
Eryn Wells
20414bb31c
[zsh] Add init_profile_darwin -- a Darwin specific init_profile
2022-05-25 14:12:08 -07:00
Eryn Wells
bb47c6cc52
[zsh] Add connect_ssh_agent to invoke ssh-agent anew or with pre-existing variables in ~/.ssh_agent_vars
2022-05-25 14:12:08 -07:00
Eryn Wells
f97f1bda34
[zsh] Add do_init_functions to run an array of functions
2022-05-25 14:10:08 -07:00
db8e255a8f
[zsh] Move setting up tilde paths to their own init function
2022-05-22 15:32:22 -07:00