Commit graph

61 commits

Author SHA1 Message Date
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
738cadb50f Minor tweaks
- Proper conditional expression for printing XTerm titlebar stuff
- Local variables in precmd_flags_rprompt
2012-10-10 13:56:46 -07:00
cbed169ca9 Export gitbranch variable after getting branch name from git 2012-10-10 13:53:51 -07:00
0e204b4ddf Fix condition for showing hostname in prompt
Was using -z instead of -n; inverted condition.
2012-10-08 11:11:39 -07:00
2fa6df3d01 Add some tests for SSH_CONNECTION 2012-10-08 11:10:01 -07:00
ecbe500f62 Use noisy functions for module load status messages 2012-10-05 11:39:14 -07:00
776bc1ef2a Move maker functions to mkrs 2012-10-05 11:39:14 -07:00
71b4dceb14 RPROMPT no longer transient 2012-10-02 17:13:55 -07:00
a75f1411e7 Clean up prompt precmd and preexec stuff -- everything is dynamic now 2012-10-01 13:37:29 -07:00
b9284b55bf Add preexec function to print a newline 2012-10-01 11:49:58 -07:00
70d8f0b9d4 Rebuild PROMPT with new fanciness 2012-10-01 11:37:53 -07:00
41d79867d9 Only show user@host on remote machines 2012-08-20 14:17:13 -07:00
7cf88c785e Mostly message printing updates; some other random stuff too 2012-08-17 12:52:00 -07:00
1400941de1 Add status messages to shell init files
Mostly for profiling, but I think it's cool to have status occasionally. In the
process, I also did some clean up, moving some stuff between profile, rc, and
env.
2012-08-07 11:19:43 -07:00
7ba0953b36 Conditionally source ~/.rc 2012-04-17 23:35:27 -07:00
a3360917f0 Use exported SYS variable for dircolors config 2012-04-17 23:17:51 -07:00
ce63e3f83c Clean up zshrc; add comments 2012-04-16 12:19:58 -07:00
83f54375a7 Use black background instead of manutally specified colors for command divider 2012-04-10 10:04:09 -07:00
6522f86f37 Make git branch yellow and change indicator red 2012-03-21 10:07:36 -07:00
6d2cd63eb8 Move pending changes flag to front of git branch name 2012-03-14 13:59:30 -07:00