nordtheme / tmux

An arctic, north-bluish clean and elegant tmux color theme.
https://www.nordtheme.com/ports/tmux
MIT License
1.06k stars 141 forks source link

Migrate nord.tmux file to ZSH shell #55

Open moritzdietz opened 3 years ago

moritzdietz commented 3 years ago

Knowing that most folks run bash as their primary shell, I wanted to create this PR in respect to Apples latest changes to their default shell for new installations. They made the new default shell ZSH and with that PR I've migrated the shell script part of this theme from Bash to ZSH.

Nothing much really, but I thought some might be interested in this. Not sure where this would live in the theme - separate branch, different file, script that checks for which shell is the primary shell and then switch to that, …

HTH

moritzdietz commented 3 years ago

There is still an issue with the commit 4e2dc2a5065f5e8e67366700f803c733682e8f8c. image

moritzdietz commented 3 years ago

I just found the issue. It was due to conditional expressions (http://zsh.sourceforge.net/Doc/Release/Conditional-Expressions.html). Needed an additional pair of brackets.