Commit graph

142 commits

Author SHA1 Message Date
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
aff206e2a0 [zsh] Update the nethack function to connect over SSH to alt.org 2022-04-11 15:17:49 -07:00
4d76782d7d [vim,zsh] Setup for doing tidalcycles in vim, including paths to local ghc 2022-04-07 18:28:30 -07:00
de14a7c00d [zsh] Open xcodeproj and xcworkspace files by looking for the currently selected Xcode 2022-01-25 17:26:56 -08:00
ae71d58f19 [zsh] Disable the builtin on macOS so it doesn't conflict with the system log command 2022-01-23 11:26:45 -08:00
f697e616d3 [zsh] Remove the wrapping init_path function 2022-01-22 21:33:28 -08:00
fc3c6261e6 [zsh] Add Code and DerivedData path-y variables to init_env_darwin 2022-01-22 21:29:45 -08:00
6ee8b800cc [zsh] Add Homembrew /opt paths to my path if they exist 2022-01-22 21:27:38 -08:00
8211c4e4f9 [zsh,darwin_init] Replace spaces in hostname with 2022-01-22 21:26:30 -08:00
ff561f808f [zsh] Treat git-svn the same as git in the prompt 2022-01-22 21:23:52 -08:00
413799a85c [zsh] Use default ZSH colors if LS_COLORS isn't defined 2022-01-22 11:05:18 -08:00
ff2666c518 Remove codetemplates/ and remove ZSH makers module -- I haven't used either in years 2022-01-22 10:24:39 -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
7e126fe703 [zsh] Massively improve binary_exists 2022-01-22 10:12:21 -08:00
ed13222d7f [zsh] Move init_rc_configure_ls to init_configure_ls 2022-01-22 10:12:03 -08:00
8eebcd73de [zsh] Update the load_module function -- it's old and crusty 2022-01-22 09:40:46 -08:00
bb3fd71ddb [zsh] Don't load the makers module 2022-01-22 09:40:13 -08:00
1c80ab1de4 [zsh] Remove all the ShellLog calls -- just too slow :( 2022-01-22 09:39:51 -08:00
a13ecc9e4d [zsh] Convert all shell-log calls to ShellLog 2022-01-22 09:11:53 -08:00
0894a4957e Revert "[zsh] Remove all the shell-log calls because they are slow af"
This reverts commit 3536a9d9c2.
2022-01-22 09:03:43 -08:00
4a019f54c4 [zsh] Remove pprint aliases 2022-01-19 08:30:49 -08:00
3536a9d9c2 [zsh] Remove all the shell-log calls because they are slow af 2022-01-18 14:49:09 -08:00
2d896e1555 [zsh] Update shell init: profile 2021-12-31 12:00:16 -08:00
c30b46a88b [zsh] Update shell init: rc 2021-12-31 11:54:55 -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