Copy ZSH configuration from Manjaro

One of the my clients use Manajro as Desktop, today I test his Gnome Desktop it was good.
But zsh config and zsh shell in Manjaro is great.
How I can have those configs in Fedora Desktop, zsh shell and all future in Manajro is very good.

Added zsh and removed gnome

Hi, Fedora uses bash, so you need to change the shell used in the Terminal emulator.

I highly recommend against changing the user shell or login shell, as there are a ton of things expecting bash, not only POSIX compliance.

After you found out how to change the shell in your terminal emulator, all you need to do is copy the ~/.zshrc and maybe other config files from that client, or maybe some Manjaro server, to your home directory.

Added gnome-console, gnome-terminal

The login shell has no effect in how scripts with #!/usr/bin/bash in them run. I cannot see why you think this will be a problem.

1 Like

My own .zshrc is originally based on Manjaro’s so I do this quite a bit as I move it to different distros.

There are a few steps:

  • Make sure zsh is installed
  • Copy the .zshrc from Manjaro
  • Switch your shell to zsh
  • source .zshrc
  • Fix any errors you find. There will be two sources of errors:
    • You will need to install additional zsh modules
    • Some paths will be slightly different on Fedora than Manjaro

Once you do this once, you can save that .zshrc and the list of packages you need and it should be a repeatable process.

1 Like