Tutorial 1: How to download, Install, Run and Use Fish-shell in Termux [Also work for non-rooted devices]

in #utopian-io6 years ago (edited)

What Will I Learn?

  • How to download Fish-shell in Termux
  • How to install Fish-shell in Termux
  • How to run Fish-shell in Termux

Today I make this Tutorial because I think there is a need for this shell for the beginners in my future post on Termux. So I make this tutorial for the facility for you. Fish-shell & hacker's keyboard makes the use of Termux easy and I hope you can easily understand this tutorial and take advantage of Fish-shell.

What is Fish-shell?

  • Fish(The Friendly Interactive Shell) a Unix shell that focuses on interactive use, discoverability and friendliness. Everything that can be done in other shell languages should be done in fish. It auto-complete the commands that are pretty cool. Fish is fully scriptable, and its syntax is simple, clean and consistent. Fish is a fast, the auto-completion is amazingly helpful and it's intuitive use without too much configuration.

How it works?

  • Fish suggest commands as you type, based on history and completion, just like a web browser. Complete the autosuggestion by hitting the right arrow key.

Requirements

  • Termux :

Download Link

  • Hacker's Keyboard

Download Link

  • Fish-shell GitHub

https://github.com/fish-shell/fish-shell.git

Difficulty

  • Intermediate

Procedure

1: Install the Termux App and Hacker's keyboard from the Requirement section, these apps are also available in Google Play Store.

How to configure the Hacker's keyboard

  • Open the Hacker's keyboard by click on Open.

Screenshot_20180118-002759.png

  • Click on ENABLE KEYBOARD and Turn on the Hacker's keyboard and press back key

Screenshot_20180118-002807.png

  • Click on SELECT INPUT METHODand select Hacker's keyboard . Hacker's keyboard is now configured! Now follow the next steps carefully
    .

Screenshot_20180118-003229.png

2: Open the Termux app and wait until it starts completely until it shows a welcome note in Terminal.

Screenshot_20180118-002722.png

  • Now type you first command pkg update and hit enter, wait until it complete.

Screenshot_20180118-005927.png

  • Now type the command pkg upgrade and press Enter This command installs the c language in Termux app.

upgrade.png

  • Now type the command pkg install python2 and press Enter. this command installs the Python Language that is used to run the Fish-shell.

Python.png

3: Now we need to install the Fish-shell but before cloning, we need to install git in Termux.
  • Type the command pkg install git and press Enter. This will install the use of it.

git.png

  • Now type the command pkg install python and press Enter.
4: There are two methods to Download and Install Fish-shell.
  • 1: First, we manually clone the GitHub link and then install it by going to downloaded file directly.
  • 2: Second is simple and easy it download and install Fish-shell automatically.
But, here we talk about the second method which is easy to use and if you are a beginner you can easily understand this method. In my next Termux Tutorials, I will briefly define how to clone and install a package with git clone command
  • Simple type command pkg install fish and press Enter wait until it complete the download.

fish.png

  • Now simple type command and press Enter. This will install and run the Fish-shell automatically.

fish...png

How to use Fish-shell?
  • This makes use of Termux easy and you can easily and fastly interact with it. You just need to put the first alphabet of your command it will show the full command and you can use it with the forward arrow. Press Tab and fish will attempt to complete the command, argument or path. If there are more then one possibility it will list them
  • I type the only cd and the first alphabet of any directory it shows the full path of directory now if I want to access this directory I simply press the forward button ], hit Tab again to cycle through the possibilities.

cd s.png

  • Another Example i type cd n
    cd n.png
  • And I got the Full path easily
    path.png

Curriculum

How to setup and run python and C++ in Android Termux



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @rufans, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Your contribution cannot be approved because it does not follow the Utopian Rules.

You repeated the processes that you've already shared In Your Previous Tutorial
Utopian introduced the use of Curriculum so as to avoid this mistake.

  • This simply means, 75% of this tutorial is a repetition of your old contribution, while 25% of it is a new lesson entirely which makes it really short.

You can contact us on Discord.
[utopian-moderator]

Congratulations @faisalamin! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published 4 posts in one day

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

By upvoting this notification, you can help all Steemit users. Learn how here!

Hey @faisalamin I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.030
BTC 56523.53
ETH 2982.54
USDT 1.00
SBD 2.15