Commit graph

155 commits

Author SHA1 Message Date
17359d1fd0
Use sparse prompt spacing rather than compacting it 2023-11-19 16:16:33 +11:00
a5077cfc56
Tweak p10k settings to my liking 2023-11-19 16:13:56 +11:00
446bf02ee7
Switch off p10k segments I don't use 2023-11-19 16:13:01 +11:00
c66b758bdf
Disable fortune because p10k instant prompt doesn't like it 2023-11-19 16:10:37 +11:00
3b4c9be359
Change prompt tp Powerlevel10k for absurd performance 2023-11-19 15:40:39 +11:00
588a2006aa
Turbo-mode completions and other interactive niceties :) 2023-11-19 14:25:27 +11:00
ef25e15360
Remove some Zsh plugins I don't actually use 2023-11-19 14:17:21 +11:00
d266498953
Add .zsh extension to zcompdumps 2023-11-19 14:16:36 +11:00
cb917cbfb6
Use updated Zinit invocation approach 2023-11-19 14:12:38 +11:00
a0beaae3c6
Remove unnecessary +x mode from .zshenv 2023-11-02 20:11:59 +11:00
b3e27fe377
Fix Bat config flag syntax 2023-11-02 20:11:25 +11:00
Danielle McLean
d85fdd0796
Remove Homebrewed GNU coreutils from path
I had these set up in the first place mostly because GNU ls supports
--color=auto and the BSD ls provided with MacOS didn't, causing problems
if I aliased ls to ls --color=auto.

And I don't really need that any more, especially since I prefer to use
lsd-rs/lsd in place of the coreutils ls nowadays. Additionally, the BSD
ls that comes with MacOS now *does* support that flag, so in a pinch it
can do what I need.

Defaulting to the natively installed coreutils should help my usage of
these tools more portable too, rather than always relying on GNU-isms.
Given my huge reliance on Zsh-specific features that's not something I'm
doing super well anyway, but still.
2023-10-31 15:36:13 +11:00
fadf484cb7
Add a shebang so Vim knows what filetype dot-zshenv is 2023-10-28 13:14:33 +11:00
bc3b256554
Add sharkdp/bat config flags I like 2023-10-25 11:38:40 +11:00
Danielle McLean
94a87665b3
Add simple sharkdp/bat config (just tab size for now) 2023-10-24 15:09:59 +11:00
8881b620a5
Simplify Perl version display in Starship 2023-10-23 15:32:47 +11:00
Danielle McLean
57037f5cc4
Migrate from .stow-rename to --dotfiles 2023-10-23 15:20:13 +11:00
Danielle McLean
88a40da33c
Remove some unused aliases 2023-10-16 13:18:47 +11:00
Danielle McLean
9464a3cfc6
Add basic LSDeluxe config file 2023-10-16 13:09:56 +11:00
Danielle McLean
df7a44e078
Remove .stow-local-ignore since dots takes care of it 2023-10-16 13:07:22 +11:00
cf1c918447
Fix deprecated config key in starship.toml 2023-10-14 19:56:23 +11:00
3cb0586a49
Disable 'magic' Zsh bindings to avoid painfully slow pasting 2023-09-18 15:34:06 +10:00
09d28eaae4
Add Bun icon to starship.toml 2023-09-18 09:45:44 +10:00
Danielle McLean
80f9567108
Pretty up Python version display in prompt 2023-07-13 13:18:53 +10:00
Danielle McLean
31ec6d2622
Nicely display command duration in prompt with icon 2023-07-13 13:18:35 +10:00
Danielle McLean
a3e784bd5e
Always override ZDOTDIR if it's just set to ~ 2023-06-27 14:33:40 +10:00
Danielle McLean
9a16f59378
Enable K8S context in Starship prompt 2023-06-27 14:33:14 +10:00
Danielle McLean
a86c8f0ea9
Add Google Cloud SDK bins to path 2023-06-15 10:30:01 +10:00
Danielle McLean
a1c3043a5f
Alias for tunneling kubectl through local proxy 2023-06-15 10:29:27 +10:00
91da2c238d
Run nerdfix over Starship config 2023-05-09 12:53:21 +10:00
1bacee68ce
Update starship.toml uising Nerd Font Symbols preset 2023-05-03 11:52:38 +10:00
92f9db8f7b
Use sharkdp/vivid if it's available 2022-07-13 17:01:09 +10:00
3eec157285
Shift lots of shells' history into XDG_DATA_HOME 2022-07-12 11:05:15 +10:00
efb24fc3f6
Push Ruby Bundler directories into XDG dirs 2022-07-12 11:05:14 +10:00
8bbc4bd3f2
Push Docker config into XDG_CONFIG_HOME 2022-07-12 11:05:13 +10:00
c55664cce3
Move GOPATH into XDG_DATA_HOME 2022-07-12 11:05:12 +10:00
690df57f00
Set compromise XDG_RUNTIME_DIR if necessary
It's not ideal to set XDG_RUNTIME_DIR in your shell environment,
rather than from your session manager (or systemd, or whatever), since
then you can't reliably provide the same lifetime guarantees that
XDG_RUNTIME_DIR is supposed to have? But this is still preferable to not
having an XDG_RUNTIME_DIR at all, so I'm gonna go with it.
2022-07-12 11:05:11 +10:00
Danielle McLean
f00062ec1b
Support the Kubernetes plugin manager, Krew
Why am I doing Kubernetes things, what has happened
2022-06-09 14:33:09 +10:00
0c569f6907
Add ~/Library/Python bins to path when they exist 2022-01-28 10:52:55 +11:00
09033f007a
Add Gems installed using Homebrewed Ruby to path 2022-01-25 10:35:04 +11:00
a169761a36
Migrate from zdharma/ to zdharma-continuum/ 2021-11-15 15:56:25 +11:00
Danielle McLean
2255703a21
Provide better XDG compliance for Node.js
We want to store the Node REPL history in XDG_DATA_HOME, and we also
want to make sure we always have an npm config file that sets up npm
with its appropriate XDG paths. (By default, lots of stuff ends up in
~/.npm if no configuration is provided.)

As I mention in the diff, we can't simply commit the npm config file to
version control, because it contains things like authorisation tokens
that shouldn't be committed. We can however generate a default config
file that sets up the XDG paths we need, allowing the user to then go
ahead and add tokens to the generated file later on, like so.
2021-10-01 11:32:16 +10:00
Danielle McLean
f06071e7c7
Drop fragile XDG_RUNTIME_DIR support
An XDG runtime directory cannot be provided reliably by the shell,
because it's supposed to have the same lifetime as the user's login
session, and the shell doesn't have a reliable way to keep track of that
lifetime. There are probably nonportable ways to get a conforming
directory, such as making a request to PAM, but PAM is supposed to set
XDG_RUNTIME_DIR itself anyway and also doesn't exist on Macs, which I
use most of the time.

My configuration isn't actually using XDG_RUNTIME_DIR anyway, so I don't
want to provide the misleading impression that a runtime directory with
proper behaviour conforming to the specification is definitely
available.
2021-09-22 10:27:09 +10:00
Danielle McLean
2018821e9f
Add support for XDG_STATE_HOME 2021-09-22 10:27:08 +10:00
3348b8bd19
Add OPAM support 2021-09-15 09:49:19 +10:00
e2963ca8e9
Add SHLVL display to Starship 2021-07-26 16:41:08 +10:00
3b8b77d590
Use canonical argument formats to Taskwarrior 2021-07-19 23:09:43 +10:00
8ae8c1149e
Add a Taskwarrior pending count to Starship prompt 2021-07-19 11:05:35 +10:00
6b4bc5512e
Alias tree to use lsd's tree mode, for icons! 2021-07-19 11:05:08 +10:00
dceeff9590
Remove need for XDG_DATA_HOME/zsh/skim.zsh 2021-07-15 16:14:40 +10:00