zsh/config/zsh
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
..
all fix: cleanly skip trying to load zinit binary module if it hasn't been built 2021-04-26 15:10:31 +10:00
functions Set the terminal title like pure does (starship doesn't do this) 2021-07-07 15:12:32 +10:00
interactive Alias tree to use lsd's tree mode, for icons! 2021-07-19 11:05:08 +10:00
interactive+login Use prettier Unicode bubbles around ponysay fortunes 2016-10-30 10:18:19 +11:00
login Provide better XDG compliance for Node.js 2021-10-01 11:32:16 +10:00
.zlogout Clean up XDG_RUNTIME_DIR on last logout 2016-10-23 14:48:29 +11:00
.zprofile Using stow-rename, unhide all the files :3 2016-10-07 23:13:58 +11:00
.zshrc Using stow-rename, unhide all the files :3 2016-10-07 23:13:58 +11:00
zinit Set the terminal title like pure does (starship doesn't do this) 2021-07-07 15:12:32 +10:00
zlogout Enable the Zinit binary module, which efficiently zcompiles ALL sourced files 2020-01-20 12:44:50 +11:00
zprofile 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
zshenv 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
zshrc Enable the Zinit binary module, which efficiently zcompiles ALL sourced files 2020-01-20 12:44:50 +11:00