Alpha Chen
3465543d98
make alt-c work for fzf
1 year ago
Alpha Chen
4d3379c69f
make brew work on the m1
1 year ago
Alpha Chen
948d64d64a
make directories easier to see with exa
1 year ago
Alpha Chen
44c271b008
change prompt success color to green
1 year ago
Alpha Chen
c6e946de79
add nix, cargo to zshenv
1 year ago
Alpha Chen
25c1f87154
add terraform completion
1 year ago
Alpha Chen
7a3e6bb7da
fzf additions
...
- `z` for fasd support
- `CTRL-G` for git changed files
1 year ago
Alpha Chen
35600d3446
disable the default RPROMPT
1 year ago
Alpha Chen
f277b589db
use `$commands` instead of `type` because it's faster
1 year ago
Alpha Chen
ddfc76083b
don't use kubectl autocompletion by default
...
```
num calls time self name [89/89]
-----------------------------------------------------------------------------------
1) 1 84.56 84.56 39.42% 84.37 84.37 39.33% __kubectl_bash_source
2) 1 55.07 55.07 25.67% 54.59 54.59 25.45% chruby_use
3) 5 74.61 14.92 34.78% 33.93 6.79 15.82% pmodload
4) 1 8.35 8.35 3.89% 8.24 8.24 3.84% _zsh_highlight_load_highlighters
5) 2 8.09 4.04 3.77% 8.09 4.04 3.77% _zsh_highlight_bind_widgets
6) 1 5.99 5.99 2.79% 5.99 5.99 2.79% prompt_pure_state_setup
7) 2 4.68 2.34 2.18% 4.68 2.34 2.18% promptinit
8) 1 4.09 4.09 1.91% 4.09 4.09 1.91% compinit
9) 18 2.73 0.15 1.27% 2.73 0.15 1.27% (anon)
10) 2 11.50 5.75 5.36% 2.19 1.09 1.02% prompt_pure_setup
11) 1 2.04 2.04 0.95% 2.04 2.04 0.95% async_init
12) 11 0.83 0.08 0.39% 0.83 0.08 0.39% add-zsh-hook
13) 2 2.75 1.37 1.28% 0.71 0.35 0.33% async
14) 1 0.48 0.48 0.22% 0.48 0.48 0.22% chruby_reset
15) 3 0.39 0.13 0.18% 0.39 0.13 0.18% is-at-least
16) 3 0.40 0.13 0.19% 0.34 0.11 0.16% add-zle-hook-widget
17) 1 0.27 0.27 0.12% 0.27 0.27 0.12% chruby_auto
18) 1 12.02 12.02 5.60% 0.13 0.13 0.06% set_prompt
19) 1 12.14 12.14 5.66% 0.12 0.12 0.05% prompt
20) 1 0.19 0.19 0.09% 0.10 0.10 0.05% complete
21) 1 0.09 0.09 0.04% 0.09 0.09 0.04% compdef
22) 1 55.14 55.14 25.70% 0.07 0.07 0.03% chruby
23) 1 0.03 0.03 0.01% 0.03 0.03 0.01% bashcompinit
24) 1 0.02 0.02 0.01% 0.02 0.02 0.01% is-callable
25) 2 0.01 0.00 0.00% 0.01 0.00 0.00% is-darwin
```
1 year ago
Alpha Chen
62bc20c8cf
nix
1 year ago
Alpha Chen
c3d5574107
add kubectl completions
1 year ago
Alpha Chen
bcee60a5f5
use a module for docker completion
1 year ago
Alpha Chen
389c2dad42
add custom completions
1 year ago
Alpha Chen
efd11fbae7
fix fzf alt-c command
1 year ago
Alpha Chen
c6d1045581
add .local/bin to $PATH
1 year ago
Alpha Chen
dd3082a77f
move aliases to rc, add tmux alias for better integration w/direnv
1 year ago
Alpha Chen
8639cc1872
fzf updates
1 year ago
Alpha Chen
4d9a3cf96e
use double quotes
1 year ago
Alpha Chen
5567d55f9f
fzf
1 year ago
Alpha Chen
52b6eed678
use exa for ls
1 year ago
Alpha Chen
dcf4aefe45
move chruby to rc, add .dotfiles/bin
1 year ago
Alpha Chen
37c58e1d21
move PATH-modifying stuff to zshenv
1 year ago
Alpha Chen
305fc21c8d
Fix tat session name cleaning
1 year ago
Alpha Chen
06c46aa5bd
Sub all . for _ for tat
1 year ago
Alpha Chen
c7a59b2b7e
Selecta support
...
68554d6965/.zshrc (L122)
1 year ago
Alpha Chen
89245945e1
Add ~/bin to PATH
1 year ago
Alpha Chen
87141e6f33
Sanitize tmux session names
1 year ago
Alpha Chen
7c78c7020b
Add Cargo bin to PATH
1 year ago
Alpha Chen
9492e4fc09
Move direnv and chruby hooks into zshrc
1 year ago
Alpha Chen
10263f90fe
Make eject function case-insensitive
1 year ago
Alpha Chen
bb44c92a9b
Re-enable automatic chruby-ing
1 year ago
Alpha Chen
aa244610d5
Fix up arrow through history
1 year ago
Alpha Chen
636694dd8e
Enable syntax highlighting and history substring matching
1 year ago
Alpha Chen
51150c82ec
Add a "plz" alias for "sudo"
1 year ago
Alpha Chen
f76b32657d
Add function for ejecting mounts
1 year ago
Alpha Chen
e6bc833747
initial personalization
1 year ago
Indrajit Raychaudhuri
5ac930d96b
history-substring-search: Tweak documentation and cleanup
1 year ago
mritd
74a19fb665
docs(history-substring-search): add `prefixed` setting example comment
...
add `prefixed` setting example comment
Signed-off-by: mritd <mritd@linux.com>
1 year ago
dllud
bd180eec72
history-substring-search: add fuzzy and unique
1 year ago
huyz
e50b93ca88
Fix zcompile race condition
...
sorin-ionescu/prezto#2028
2 years ago
Shea690901
dea85a0740
feat(module/history): add full configurability
...
While previusly configurable, it was inconsistent with other
configuration options and it was missing configurability of in memory /
on disc history size.
Signed-off-by: Shea690901 <ginny690901@hotmail.de>
3 years ago
Indrajit Raychaudhuri
3dc3fa7f8c
zprofile: Expand the default list of well known paths
...
Two additional sets of paths are now added to the default list of well
known paths: '$HOME/{bin,sbin}' and '/opt/{homebrew,local}/{bin,sbin}'.
- '$HOME/{bin,sbin}': Most users have custom scripts in '$HOME/bin'
anyway, we might as well honor those. '$HOME/sbin' is not really common,
but we can keep it for consistency.
- '/opt/{homebrew,local}/{bin,sbin}': With Homebrew changing default
installation location in macOS on Apple Silicon which will eventually
become ubiquitous, we have a good reason to add these paths by default.
While at it, we also honor MacPorts installation.
In all cases, we add them _iff_ the paths actually exist, not otherwise.
This has the side effect of a newly installed program not available
immediately in the '$path' in a mint fresh system (because of the fact
that '/opt/{homebrew,local}/{bin,sbin}' won't exist initially) until the
shell is reloaded. But that's a minor inconvenience to keep the '$path'
from getting unnecessarily bloated.
3 years ago
Indrajit Raychaudhuri
98d69fc91f
zprofile: adjust condition for `LESSOPEN` export
...
Split tests for condition for `export LESSOPEN` separate per convention
3 years ago
Aaron Kanter
15150085e6
Only export env variables in zprofile if unset
...
As per [zsh documentation](https://zsh.sourceforge.io/Intro/intro_3.html ) environment variables should be expected to be in `.zshenv` and not be overridden in `.zprofile`. This change modifies BROWSER (on darwin systems only), EDITOR, VISUAL, PAGER, LESS, and LESSOPEN to only use zprezto defaults if they were not previously set in the loading order.
See:
https://github.com/nix-community/home-manager/issues/2739
https://github.com/nix-community/home-manager/issues/2751
3 years ago
Indrajit Raychaudhuri
48291f68e8
general: Reformat runcom documentation
4 years ago
Indrajit Raychaudhuri
6c5657be8e
zprofile: Don't exit 'less' when everything fits the screen
...
This aligns better with default `less` behavior and allows for
'growable content' when `less` is used as a substitute for `tail`.
4 years ago
Indrajit Raychaudhuri
1ff9421f7b
general: Update documentation better qualifying runcom paths
...
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.
Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.
While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
4 years ago
Indrajit Raychaudhuri
d80e393f78
general: Reformat documentation with better formatting and wording
...
General purpose reformating and rewording in (a few places). This should
also make markdown linting happier.
Prefer back-ticks wherever useful and use `console` for code blocks to
be executed on terminal.
Also, update references links wherever possible (including update from
'http://' to 'https://').
4 years ago
Kenichi Kamiya
a7f223d959
Enable `history-substring-search` as a default module
...
Resolves #1868
4 years ago