Bo Jeanes
e52ad462c2
Start root's cron under WSL
...
WSL2 has some uncontrolled memory growth, so a cronjob to clear caches
is a prudent way to help until it is resolved.
https://github.com/microsoft/WSL/issues/4166#issuecomment-604707989
2020-05-04 14:34:21 +10:00
Bo Jeanes
c605d74642
Ignore .vscode directory by default
2020-05-04 14:29:38 +10:00
Bo Jeanes
82e25eb09a
Update default tool versions
2020-05-04 14:29:28 +10:00
Bo Jeanes
bf32c1357d
Configure git credential helper under WSL
...
TODO make this a `git config` command so it is naturally idempodent.
2020-05-04 14:28:15 +10:00
Bo Jeanes
1fdbb88e66
Re-arrange configuration of local gitconfig
2020-05-04 14:27:37 +10:00
Bo Jeanes
11a193fafa
Load local config
2020-05-04 14:26:54 +10:00
Bo Jeanes
c77820e856
Hook into Windows' SSH Agent under WSL
...
This will securely store SSH key in the host system, tied to your user
account, will be locked when Windows is locked, and will avoid having to
type SSH passphrase in every new window you open.
2020-04-03 20:32:58 +11:00
Bo Jeanes
0444b73bd5
Remove shell aliases I no longer use
...
(esp `ss`, which conflicts with an actual command)
2020-04-03 20:31:46 +11:00
Bo Jeanes
6d54f020c7
Configure `asdf` versions
2020-04-03 16:07:22 +11:00
Bo Jeanes
ef83444e56
Start porting Bash configs to Fresh management
2020-04-03 10:47:33 +11:00
Bo Jeanes
ef5dc4fc33
Add some more bins to dotfiles
2020-04-03 10:47:33 +11:00
Bo Jeanes
cb51dd7e75
Improve ZSH completions loading
2020-04-03 10:47:33 +11:00
Bo Jeanes
2c0385ee10
Make ZSH plugin loading a bit more consistent
2020-04-03 10:47:33 +11:00
Bo Jeanes
f454a79798
Add `arst` alias for `asdf` and fix error in zsh
...
We were loading the Bash completions in ZSH which caused an error. I
broke out Bash completion loading separately.
2020-04-03 10:47:33 +11:00
Bo Jeanes
4d613c1d22
More nuanced zsh history searching
...
up/down - search history using command as prefix
shift+up/down - search history using command as filter (non-prefix)
page up/page down - same as shift+up/shift+down
2020-04-03 10:40:26 +11:00
Bo Jeanes
1aa3612dd8
Fix arrow keys in ZSH insides WSL/Windows Terminal
2020-04-03 10:23:55 +11:00
Bo Jeanes
36c1936292
Preserve existing PATH
...
In WSL2, the PATH is pre-filled with Windows' PATH contents (which are
still executable within WSL Linux distros). For instance, `code .` to
open VS Code works by finding `code` in the Windows filesystem, which is
conveniently already specified in the PATH.
2020-04-02 14:44:29 +11:00
Bo Jeanes
c628d7e885
Fix issue with unbound variable
2020-04-02 14:17:05 +11:00
Bo Jeanes
2214a99044
Associate elixir lang with .ex{s,} for git diff
...
https://www.reddit.com/r/elixir/comments/eozrqd/using_functioncontext_with_elixir_and_git_225/
2020-01-16 09:28:03 +11:00
Bo Jeanes
88b3373622
[vim] Remove RootIgnore plugin, as it errors
2019-09-08 12:14:13 +10:00
Bo Jeanes
c16182e9fe
[vim] Misc
2019-09-08 12:11:57 +10:00
Bo Jeanes
ce7cb683d7
[vim] Set tags manually in prep for next fugitive
...
63a05a6935
2019-09-08 12:11:50 +10:00
Bo Jeanes
660f86d59a
[vim] Fix cursor highlighting w/ matching pairs
...
https://github.com/tomasr/molokai/issues/74#issuecomment-529159596
2019-09-08 12:11:31 +10:00
Bo Jeanes
9118189c76
[vim] More "targeted" text objects around pairs
2019-09-08 12:11:31 +10:00
Bo Jeanes
b342bb81fe
[vim] Change working directory to Git root
2019-09-08 12:11:31 +10:00
Bo Jeanes
90ad7e8d4d
[vim] Turn on Elixir auto-formatting but disable Ruby's
...
Rubocop is just too damn slow.
2019-09-08 12:11:18 +10:00
Bo Jeanes
c84ea76a6f
[vim] Hide indent lines on markdown (show for JSON)
2019-09-08 12:11:06 +10:00
Bo Jeanes
b050e38c50
[vim] Use release tags for plugs with release tags
2019-09-08 12:10:44 +10:00
Bo Jeanes
7c3a70f099
[vim] Nicer commit interface with Vim as editor
2019-09-08 12:10:33 +10:00
Bo Jeanes
d309ffdb92
[vim] Tighten NERDTree config
2019-09-08 12:10:33 +10:00
Bo Jeanes
e5a010824a
Separate section
2019-09-08 12:10:23 +10:00
Bo Jeanes
eddd4fad21
[vim] Nice Startify config
2019-09-08 12:10:19 +10:00
Bo Jeanes
2bc31497ba
[git] Use `diffr` to display diff
2019-09-08 12:10:12 +10:00
Bo Jeanes
e9573599a1
[fresh] Allow skipping vim plugin updates in fresh
2019-09-08 12:09:29 +10:00
Bo Jeanes
91604629fa
Fix indent
2019-09-08 12:08:19 +10:00
Bo Jeanes
973d7250c2
[git] Don't ignore `lib/` as Elixir keeps source here
2019-09-08 12:08:11 +10:00
Bo Jeanes
6f9907c88c
Remove stale comment
2019-08-29 13:29:54 +10:00
Bo Jeanes
428621c274
Collect ctags definitions from all over
2019-08-29 13:23:57 +10:00
Bo Jeanes
a5469b2a39
Work around freshrc bug / missing feat
2019-08-29 13:23:49 +10:00
Bo Jeanes
2eab795225
Add Elixir definitions to ctags config
2019-08-29 12:53:31 +10:00
Bo Jeanes
6ac8cad106
Fix git config indentation
2019-08-29 12:51:18 +10:00
Bo Jeanes
15f098fc02
Remove unused Git aliases
2019-08-29 12:51:05 +10:00
Bo Jeanes
48756ec649
Make vim-which-key snappier
2019-08-29 12:50:13 +10:00
Bo Jeanes
2db5054bb8
fixup! Update (Neo)Vim plugins after running Fresh
2019-08-29 12:49:37 +10:00
Bo Jeanes
0132966dc3
Map vim toggles with <leader>t prefix
2019-08-29 12:48:30 +10:00
Bo Jeanes
43b4edd9f5
Update (Neo)Vim plugins after running Fresh
2019-08-29 12:44:11 +10:00
Bo Jeanes
f447f7ee36
Fix vim modeline on freshrc
2019-08-29 12:43:43 +10:00
Bo Jeanes
293bf49a89
Ignore .git repo in ag searches, by default
2019-08-29 12:37:05 +10:00
Bo Jeanes
19afd94375
Restore .git_template linking after move to Fresh
2019-08-29 12:36:31 +10:00
Bo Jeanes
27c865aba9
Update ctags hook with latest version in blog post
2019-08-29 12:35:26 +10:00