Fish Shell - The user-friendly command line shell


Recommended Posts

i compiled fish in Slackware 15 for use in unraid 6.10-6.11 .

its very useful for beginners. 

 

Please put in /boot/extra for autoinstall on boot.

 

fish - the friendly interactive shell 

fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish includes features like syntax highlighting, autosuggest-as-you-type, and fancy tab completions that just work, with no configuration required.

image.thumb.png.9d939e9a341bd9c207715af62e54a05d.png

official sites

https://fishshell.com/

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

 

fish-3.4.1-x86_64-1_da.txz

 

fish-3.5.1-x86_64-1_da.txz

 

fish-3.6.0-x86_64-1_da.txz

 

you can find it on my github also

https://github.com/masterwishx/Develop-Project

fish-3.6.4-x86_64-1_da.txz

fish-3.7.0-x86_64-1_da.txz

fish-3.7.1-x86_64-1_da.txz

Edited by Masterwishx
  • Like 4
  • Thanks 1
Link to comment
  • 3 weeks later...

Just to let you know, I maintain fish in my repository over here, you can use it in combination with un-get to install/update it. ;)

 

If you want to download fish through un-get you have to first add my repository, instructions are in the un-get GitHub README.md over here.

 

The repositories are checked three times a day for updates and updated automatically if a new version from a package is found (except for borgbackup and ipmitool since I don't compile them).

  • Like 2
  • Thanks 1
Link to comment
  • 2 months later...
Just now, Masterwishx said:

its don't have install file ,what is mean that is only can be used by un-get plugin and cant be placed to extra folder?

You can also place it in /boot/extra (but un-get does basically the same).

 

Just now, Masterwishx said:

its also missing some docs,man etc files, its because they are not used in Unraid?

Yes, you don't have `man` on Unraid, so it makes not really sense to include that.

  • Like 1
Link to comment
11 hours ago, ich777 said:

You can also place it in /boot/extra (but un-get does basically the same).

 

OK, i found you dont have ./install/doinst.sh file :

that was included in old version of Fish ,also what i and nerdtools plus additional strings compiled, 

how its adding to shell then , or its not needed?

 

Just asking becouse you have a lot more linux knowledge... and wanted to move to un-get as you have it auto compiled when new version available...

for not to compile it manually by myself.

config() {
  NEW="$1"
  OLD="$(dirname $NEW)/$(basename $NEW .new)"
  # If there's no config file by that name, mv it over:
  if [ ! -r $OLD ]; then
    mv $NEW $OLD
  elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
    # toss the redundant copy
    rm $NEW
  fi
  # Otherwise, we leave the .new copy for the admin to consider...
}

config etc/fish/config.fish.new

# add Fish to /etc/shells
grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells

 

Edited by Masterwishx
Link to comment
46 minutes ago, Masterwishx said:

OK, i found you dont have ./install/doinst.sh file :

The file isn't in there because the config is not persistent across reboots anyways and not really needed.

Does something not work for you with the package? If something needs to be changed you can always drop me a short message and I'll look into it. :)

  • Like 1
Link to comment
16 minutes ago, ich777 said:

The file isn't in there because the config is not persistent across reboots anyways and not really needed.

But it's install on the server boot. 

17 minutes ago, ich777 said:

Does something not work for you with the package?

Sorry, I didn't checked yet your packege, Becouse compiled myself 3.6.4, just asked befor it, but will check it and will let you know. 

Thanks

Link to comment
10 minutes ago, Masterwishx said:

But it's install on the server boot. 

Exactly, but the base config is installed with the package so there is no need to install it or move it or better speaking have a redundant copy of it over with the extension .new <- hope that makes sense.

  • Like 1
Link to comment
On 12/6/2023 at 4:17 PM, ich777 said:

Exactly, but the base config is installed with the package so there is no need to install it or move it or better speaking have a redundant copy of it over with the extension .new <- hope that makes sense.

 

un-get fish 3.6.3 and 3.6.4

 

fish: /lib64/libm.so.6: version `GLIBC_2.38' not found (required by fish)
fish: /lib64/libc.so.6: version `GLIBC_2.38' not found (required by fish)
root@DIYNEZ:~#

 

How should I fix it?

 

 

Edited by neunghaha28
Link to comment
2 hours ago, ich777 said:

Is it possible that you have Slckware current instead of Slackware 15.0 specified in your sources.list?

 

I removed everything and rebooted then installed fish 3.6.3 again everything worked thank you

 

It was my mistake to install fish 3.6.4 first.

 

 

Edited by neunghaha28
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.