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
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
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
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
fb02531e2c
Use the recently added nocompile:! ice to allow Zplugin to auto-compile trapd00r/LS_COLORS
2019-06-28 08:53:26 +10:00
4ca6bb9316
Enable support for direnv/direnv in interactive Zshells
2018-12-19 13:34:46 +11:00
e7224f763d
Improve the interactive jamesob/desk experience by showing the current desk in the prompt when one is active
2018-08-16 15:06:45 +10:00
f4594b4563
Avoid returning a failure from interactive/desk if no desk is active
2018-08-16 14:28:02 +10:00
7fe13b3b6f
Add zsh-autosuggestions, use colons to make ice modifiers easier to read
2018-08-16 14:26:28 +10:00
864047a6e8
Simplify LS_COLORS installation using hooks
2018-08-16 14:08:30 +10:00
6ad61cd30b
More idiomatically initialise completions
2018-08-16 14:06:57 +10:00
c1b1fbfe5d
Set my PASSWORD_STORE_DIR in zsh login, since EnvPane seems to be having trouble setting it
2018-07-26 09:13:54 +10:00
1d321aa33c
Add support for pyenv
2018-07-01 14:42:28 +10:00
ffa567b4d5
Wire zcompdump into zplugin's handler, for better perf and accuracy
2018-06-18 10:45:37 +10:00
ad0d9f72f5
Add .cargo/bin to PATH to support Rust-based commands
2018-06-18 10:44:46 +10:00
93ff382dfe
Remove the unphp function because PHP unserialisation is actually quite complex and is best handled with an actual PHP script rather than a tiny shell fnction
2018-04-09 08:34:26 +10:00