ZSH TE

Questions about the installation of FreeBSD
Post Reply
nevets
Posts: 149
Joined: Tue Jun 23, 2020 3:54 am

ZSH TE

Post by nevets »

Just installed latest build to a fresh disk.
Noticed I can't chosoe a terminal emulator in the set up dialogues.
How do I ditch fish and activate/install zsh please?
Steve
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: ZSH TE

Post by ericbsd »

Here is how to do it.

Code: Select all

sudo pkg install zsh

Code: Select all

chsh -s /usr/local/bin/zsh
nevets
Posts: 149
Joined: Tue Jun 23, 2020 3:54 am

Re: ZSH TE

Post by nevets »

Thanks Eric, I've done the above...
Trying to get MATE to follow suite is a little more troublesome...
I've edited the MATE Applications menu thus:
1. Right-select Applications in the top panel
-> Edit Menus
-> System Tools
-> Add a new item
Type = Application in Terminal
Name = ZSH
Command = zsh
Comment = ZSH Terminal Emulator
2. Edited the existing 'Mate Terminal' item as
Type = Application in Terminal
Command = zsh [instead of mate-terminal] this is a workaround...

This just leaves me trying to figure out how to get the command 'mate-terminal' configured to zsh instead of fish.
Alternatively...
I wondered if this were set in MATE conf...
I looked in the dconf editor and found a string 'mate-terminal' in
org > mate > desktop > applications > exec >
If I change from default value [mate-terminal] to a custom value, what string might t work to get zsh to run?

Any thoughts?
Steve
nevets
Posts: 149
Joined: Tue Jun 23, 2020 3:54 am

Re: ZSH TE -Sorted

Post by nevets »

OK, for some reason I can't fathom following the shell change, the mate-terminal command's 'database' didn't update, even after a reboot.
However, at some time later it did. Thus the mate-terminal now uses zsh shell and the mate menu edits are no longer required.
Since the chsh -a list [chpass program] doesn't show this data anymore [chsh: corrupted entry] I don't know where mate-terminal gets its default shell pointed from.
At least it work now... :-)
Post Reply