Commit graph

113 commits

Author SHA1 Message Date
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
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
ec375af15b
Switch to zdharma/fast-syntax-highlighting, which appears to perform better as well as highlight more accurately 2018-01-31 15:06:56 +11:00
59875eb00b
Block zsh-completions from loading itself, so that zplugin can handle its completions 2018-01-31 15:06:26 +11:00
78afec4829
Uninstall asdf, since I never use it 2018-01-31 15:05:31 +11:00
72d0f20e8c
Actually, postpone loading a few more zsh plugins as well, since they don't really need to be available immediately 2018-01-18 16:28:32 +11:00
2d210a3c8d
Fix select-word-style by postponing the load of zsh-syntax-highlighting until after the shell is initialised 2018-01-18 16:17:37 +11:00
a2d253384a
Add support for tj/n, using ~/.local as the prefix - this integrates quite nicely with the other stuff that goes in ~/.local, such as global npm packages 2018-01-15 09:08:30 +11:00