only switch to zsh if available
This commit is contained in:
parent
b4e23cecd4
commit
dfaa6786be
@ -44,7 +44,9 @@
|
|||||||
devShell = {
|
devShell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mkShellArgs.shellHook = ''
|
mkShellArgs.shellHook = ''
|
||||||
zsh && exit
|
if command -v zsh &> /dev/null; then
|
||||||
|
zsh && exit
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Programs you want to make available in the shell.
|
# Programs you want to make available in the shell.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user