This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
help-center-docs/configuration/changing-shell/en.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2017-05-25 09:51:53 +00:00
+++
title = "Changing Shell"
+++
# Changing Shell
When using a terminal session to perform command-line activities, a Unix shell is used to interpret commands. The default shell on Solus is Bash, however changing your shell may enable additional features and functionality.
2017-05-25 09:51:53 +00:00
Solus makes available other shells via our repository, with a full list available in `/usr/share/defaults/etc/shells`. Common shells, aside from Bash, are:
- Dash
- [Fish](https://fishshell.com/)
- [Zsh](http://zsh.sourceforge.net/)
## Installation
2017-05-25 09:51:53 +00:00
In order to use a shell different from Bash, you may need to install the respective package for the shell to be able to work. You will find thoses packages in the Software-Center within the *System utilities* category, or via the command-line with `sudo eopkg install <Name of the Shell>`.
Example:
``` bash
sudo eopkg install fish
```
## Switching
2017-05-25 09:51:53 +00:00
To switch to another shell, first install the appropriate package, followed by the command `chsh` (change shell) with `sudo` to change the shell for your user session.
2017-05-25 09:51:53 +00:00
Example:
``` bash
2017-05-25 09:51:53 +00:00
sudo chsh -s /bin/zsh $(whoami)
```