<liketechnik>
Hello, I'm currently trying to configure starship and can't figure out how to set for example the format of the time module, because the string needs to contain `\[` (compare https://starship.rs/config/#example-49), and no matter how I escape the backslash in my configuration file I'm not getting it to output `\]` (it's either `]` or `\\]` or with even more slashes).
tristan[m] has quit [Quit: Idle for 30+ days]
crysikrend has joined #home-manager
<crysikrend>
Hey everyone, I need a bit of help if that's okay. Im switching from standard .config/ files and im trying to get used to home-manager. I'm currently updating .config/fish/config.fish, except I have some stuff already in my config file that makes tmux run every time. How would I append / inject some text into my generated fish config file?
<crysikrend>
I'm just looking and I think you're right, I mistook that as something else at first but after looking through the auto-generated file it seems to just be the location in the config file I think:) I'm not quite sure how to write this, it's a list of strings right? Do I now need to go through my file and add "'s at the beginning and end of each
<crysikrend>
line?
<liketechnik>
crysikrend: I think that would work too, though what I used is `
<crysikrend>
okay so I think something is up - whenever I start a fish shell, it seems to hang for a moment and do nothing. If I do enable = false; then the basic fish seems to work so I'm wondering if something is clashing.
<crysikrend>
Oh and thanks for the help:)
<crysikrend>
learning a lot
<liketechnik>
no problem, happy that I'm helpfull :)
<crysikrend>
yeah fish seems to take ages to load hmm
aveltras has joined #home-manager
<crysikrend>
Perhaps its one of the other things I need, like the 'login shell init'?
<liketechnik>
I'm not sure, I'm not using fish anymore, so I didn't configure it with nix
<crysikrend>
yeah, fish --debug config seems to hang on 'sourcing /home/user/.config/fish/config.fish so I wonder if something is wrong with what was autogenerated
<crysikrend>
okay wittled it down - for some reason when I do 'tmux list-sessions | grep -v attached' it hangs
<crysikrend>
I could write anything instead of attached and it'd hang
<liketechnik>
weird. I don't really have an idea what could be causing that, sorry :/
<crysikrend>
thank you for the home-manager help though:)
<crysikrend>
liketechnik I fixed it by outputting tmux list-sessions into a file and then reading from the file to grep it, not the nicest solution but works