Commit graph

80 commits

Author SHA1 Message Date
be4d690e32 [zsh] Update all init-rc functions 2024-09-30 11:13:10 -07:00
c260784e5d [zsh] Clean up init-rc-darwin 2024-09-26 15:42:36 -07:00
05606d745f [zsh] Only print tmux sessions for LOGIN shells
While playing around with neovide, I learned that processes can reasonably
expect non-login shells to print nothing except commands to execute. This change
modifies zshrc to only print tmux sessions (something I only care about when I
start a shell myself) in LOGIN shells.
2024-08-02 18:31:38 -07: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
f6774a6a13 [zsh] Add homebrew site-functions to fpath 2023-06-01 10:27:12 -07:00
71176a516f [zsh] Remove the shebang from the init scripts 2023-03-28 10:53:27 -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
09ea02303d [zsh] Move vi init to init_env_vi; set EDITOR in that function 2022-05-28 09:16:07 -07:00
d5ede2e563 [zsh] Convert zshrc to use do_init_functions 2022-05-26 09:06:15 -07:00
db8e255a8f [zsh] Move setting up tilde paths to their own init function 2022-05-22 15:32:22 -07:00
0226d26f94 [zsh] Get the output redirection right for autoloads 2022-05-20 15:12:14 +00: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
ed13222d7f [zsh] Move init_rc_configure_ls to init_configure_ls 2022-01-22 10:12:03 -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
3536a9d9c2 [zsh] Remove all the shell-log calls because they are slow af 2022-01-18 14:49:09 -08:00
b1ab4a0446 [zsh] Autoload +X the init functions in zshrc 2021-12-31 12:01:39 -08:00
c30b46a88b [zsh] Update shell init: rc 2021-12-31 11:54:55 -08:00
Eryn Wells
e856c04bbf [zsh] Export $gitbranches array when switching git branches 2019-03-19 10:00:07 -07:00
318f02de92 [zsh] Bye bye vim mode 2018-09-16 14:12:24 -07:00
Eryn Wells
f832763c63 [zsh] Fix pasting stuff in viins mode -- HOLY CRAP 2017-01-26 10:31:12 -08:00
b6e13eedcd [zsh] Add compdef so g acts like git for completion 2016-05-03 10:30:06 -07:00
db86a65fad [zsh] Add bundle exec alias 2015-05-07 08:37:43 -07:00
f5e5a79d09 [zsh] Get rid of pd and pod aliases -- they were conflicting 2014-07-04 09:53:24 -07:00
529a4f9db9 [zsh] Add jj to get to vicmd mode and ^R to seach history 2014-04-16 13:35:54 -07:00
9ca1e57d17 Fix arrow keys in ZSH viins mode 2014-04-16 13:35:54 -07:00
ace3fd5a31 Split Vim mode ZSH configuration into separate configuration function 2013-10-02 09:13:43 -07:00
f80b7d6c1f Fix zsh function and module loading 2013-08-30 09:11:14 -07:00
fd7173ff72 Let load_module set fpath 2013-04-04 09:33:39 -07:00
7461ce7c8f Fix zsh completion colors 2013-04-02 09:37:49 -07:00
1174874930 Disable p4 for vcs_info -- it takes for friggin ever 2013-03-25 13:15:58 -07:00
f04ecc43ac Remove git from omz configuration 2013-03-12 15:48:56 -07:00
9375e417d5 Move vcs_info message to configure_vcs_info() 2013-03-12 15:39:56 -07:00
f90198bf2b Add configure_vcs_info function to zshrc 2013-03-12 13:58:13 -07:00
f9f9587015 Fix weird logging bug -- zsh expands fpath in this message even when I don't want it to 2013-01-31 14:10:22 -08:00
059a9fa8cf Autoload refresh_system_tags function 2013-01-23 13:25:03 -08:00
f40332b379 Add Oh My ZSH! dependency and make a few adjustments to accomodate 2013-01-23 11:11:52 -08:00
8ebe1788bf New message/log functions 2012-11-29 15:18:57 -08:00
0c08add311 Move up() to its own function file 2012-11-29 13:28:42 -08:00
6184eba778 Make various init stages into functions in zshrc 2012-11-29 13:26:49 -08:00
d3b8abce8e Lots of clean up for loquacious prompt
- Move zle keymap select code to prompt module
- Use vcs_info to get repo information
- Reduce number of functions required to generate prompt
- Set $PS1 once in setup to a bunch of $PS1_* variables. These variables are set
  before each prompt. Doing this lets me change prompt themes more easily.
2012-11-29 11:15:24 -08:00
66438f666c Prompt configuration to a prompt theme
Move my prompt configuration to a prompt theme function in my $fpath. I call it
'loquacious'. The prompt is configured by the prompt_loquacious_setup function.

This change also necessitated a new function called prompt_colorize to generate
a string with the correct set of color escapes for the prompt.
2012-11-28 21:44:13 -08:00
e0ab531085 Colorize list of PIDs for kill command 2012-11-28 09:44:56 -08:00
b1bd477d8b Make up function just cd, not pushd 2012-11-12 23:13:16 -08:00
395986145b Fix fpath settings 2012-11-02 14:40:54 -07:00
07ce43e28e Fix typo: .zsh/func/makers 2012-11-02 14:39:04 -07:00
59cabba725 Fix makers function path 2012-11-02 14:38:34 -07:00
be10e3bbc6 Unset $is_first_prompt instead setting it to 0 after its use 2012-10-10 14:08:56 -07:00
ab3f017c03 Define functions based on zshell version
Rather than figuring out the shell version inside the precmd functions, do the
computation once at startup and define precmd functions based on that. Just an
ever so slight increase in performance.

...cause I'm a nerd. :)
2012-10-10 14:07:28 -07:00