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
Danielle McLean
78208004a3
Set the terminal title like pure does (starship doesn't do this)
2021-07-07 15:12:32 +10:00
Danielle McLean
df87551b1e
Add support for PHIVE with XDG (by default it uses ~/.phive :c )
2021-06-05 16:03:35 +10:00
Danielle McLean
bb7529ec30
Tweak the formatting for Git, Node, and PHP modules in Starship
2021-05-04 10:25:34 +10:00
Danielle McLean
ba59f6e186
Configure Starship's gcloud module
2021-05-04 10:11:46 +10:00
e2ea885dc8
Add my own tweaks to make Starship look more like Pure
2021-05-04 10:05:54 +10:00
c213f50a35
Introduce Starship preset for Nerd Font symbols instead of emoji
2021-05-04 10:05:25 +10:00
a7a24f81f6
feat: use Zinit packages for LS_COLORS, rather than custom setup
2021-05-04 09:57:26 +10:00
dba0d5ab99
feat: load Starship instead of Pure if it's available
2021-05-04 09:56:51 +10:00
Danielle McLean
f54e89b435
fix: cleanly skip trying to load zinit binary module if it hasn't been built
2021-04-26 15:10:31 +10:00
64c6dfe98f
feat: add alias to run bat instead of cat when available, like lsd
2021-03-16 21:17:37 +11:00
990afa5693
feat: apply XDG to Rust cargo directories
2021-01-26 15:03:50 +11:00
bd70ac8ae0
Tell Stow to ignore the .gitignore properly. Not sure why the wildcard was needed for this to work?
2020-07-28 15:49:39 +10:00
1013c9de02
Update tiny-care-terminal config so it knows where to find repos and handles lack of API keys correctly
2020-07-27 15:31:37 +10:00
be45d2516a
Swap out ls for LSDeluxe, when it's available
2020-07-27 08:28:25 +10:00
6c5bb34c02
Remove alias for github/hub, since I'm moving away from relying on GitHub these days
2020-06-25 11:15:01 +10:00
45ad3615aa
Load a Homebrewed Ruby into the PATH, when one is present
2020-06-18 13:28:53 +10:00
c924183b37
Introduce utility function 'count', inspired by the fish builtin, which simply echoes the number of arguments it receives (e.g., count *.txt)
2020-03-26 11:34:51 +11:00
fae6274ef7
Drop the now unnecessary 'https' alias, since HTTPie now ships with an equivalent command anyway
2020-03-02 12:29:26 +11:00
60606d5459
Do our own zcompile step for zshenv in particular, since it runs before the Zinit module has a chance to load
2020-01-20 12:54:38 +11:00
25f3c517d8
Guarantee that the Zinit module is the first thing loaded whenever possible, so that everything else gets compiled and timed
2020-01-20 12:51:33 +11:00
89b24e14ee
Enable the Zinit binary module, which efficiently zcompiles ALL sourced files
2020-01-20 12:44:50 +11:00
d2a5ca19a2
Migrate from Zplugin to Zinit, because the project was renamed
2020-01-20 12:01:30 +11:00
c89b3c2475
Switch from junegunn/fzf, which hasn't been updated in over a year, to lotabout/skim, which was updated last week
2019-11-04 12:32:58 +11:00
ad8ee421e4
Add support for the 'poetry' Python package manager
2019-11-04 12:22:14 +11:00