Post ATFdaB8WlPs8Ab4rLc by drdrang@fosstodon.org
(DIR) More posts by drdrang@fosstodon.org
(DIR) Post #ATFXuHuKhQEpEjdxlQ by chidgey@engineered.space
2023-03-03T20:34:15.702331Z
0 likes, 0 repeats
For some reason running bash or zsh on the same shell script yields the correct result in the Terminal, but when SwiftBar defaults change between bash or zsh they both break the same script in different ways. This never happens with Python so I’m rewriting my script in Python because that’s the Pragmatic thing to do. #Geez
(DIR) Post #ATFaBg1WUQaqrWQTzs by drdrang@fosstodon.org
2023-03-03T20:48:33Z
0 likes, 0 repeats
@chidgey My guess would be that this is due to a difference in environment (and environment variables) between SwiftBar and Terminal.
(DIR) Post #ATFaBgTsmzHKHTh8CW by chidgey@engineered.space
2023-03-03T20:59:51.276253Z
0 likes, 0 repeats
@drdrang I know. Problem is rumaging through the .zshrc profiles I can’t see anything different. It’s fine. It’ll take me another 30mins to recode it but hey.
(DIR) Post #ATFdaB8WlPs8Ab4rLc by drdrang@fosstodon.org
2023-03-03T21:07:18Z
1 likes, 0 repeats
@chidgey As Larry Wall used to say, it’s easier to port a shell then a shell script.
(DIR) Post #ATFdc1JoEodKIbETlA by chidgey@engineered.space
2023-03-03T21:37:54.725229Z
0 likes, 0 repeats
@drdrang LOL