Almost every Linux user has used the shell at least once. From installing new packages, to pushing new commits into your git repository - it allows us to do tasks impossible from graphical interface. In this article I'll overview few tools that make this job even easier.
fish
fish
is an powerful alternative to other shells like bash
or zsh
. Configuring zsh
requires skill, or installing heavy frameworks on top of it, like oh-my-zsh
. In fish
, most features work out-of-the-box. You don't need to install any additional software. It allows you to use features like:
- Autosuggestions
- Tab autocomplete
- Coloring the shell
- Web configuration tool
- Configure your prompt (For example, show git repo name)
Installation
fish
should be available in your system's default package manager.
For example, to install it in Ubuntu / Debian using apt
:
sudo apt-get install fish
For Arch Linux
sudo pacman -S fish
Changing your default shell to fish
After installing any shell, you can use it by just launching it by command. However, if you want to make it start as default shell after restarting your terminal use this command:
chsh -s /usr/bin/fish
After logging again into your system, fish
will be your default shell for this user.
Configuration
Configuring fish
is really easy! If you are running system with graphical interface, you can just typefish_config
to open configuration tool in your browser. You can change your theme, view your command history, edit bindings - configure everything in your browser, without manually editing configuration files.
thefuck
Another handy tool is fuck
. When you miswrite command, you can just write fuck
and this tool will guess command you wanted to write.
Installation
To install thefuck you need to have both python3
and pip3
installed.
- Ubuntu
sudo apt install python3-dev python3-pip
sudo pip3 install thefuck
- Arch Linux
sudo pacman -S python python-pip
sudo pip3 install thefuck
Then, you need to put
eval (thefuck --alias | tr '\n' ';')
in your ~/.config/fish/config.fish
Restart your shell, and viola - thefuck
is installed.
These tools helped me a lot while working on my projects. You can install them on any Unix system - OSX, Linux, BSD and rest of the family.
Thanks for reading this far. I hope you liked this article.
Congratulations @feelfreelinux! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
You made your First Comment
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Congratulations @feelfreelinux! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP