Questions tagged [fish]

The fish shell is an alternate shell, and scripting language, for *nix systems (including macOS). Its claim to fame is being an intuitive, user friendly, and efficient modern shell. Some key examples, per their own website, are enhanced syntax highlighting, completions and autosuggestions (automatically generated from man pages), high performance, and sane scripting.

Fish is a command-line shell designed to be both smart and user-friendly, with auto-suggestions, fully 256 color support, and web-based configuration. Packages for Fish exist for macOS and various flavors of Unix.

Features that differentiate it include rich syntax coloring, auto-completion of commands and arguments, and a high-performance, multithreaded implementation.

Resources

991 questions
-1
votes
1 answer

No I'm not able to change my default shell to fish shell

I am on Mac 10.13.6 I have read this long thread and the 10 working solutions there How to set my default shell on Mac? but nothing works for me. Here is what I've tried brew install fish sudo vi /etc/shells Add line '/usr/local/bin/fish' and save…
Knows Not Much
  • 30,395
  • 60
  • 197
  • 373
-1
votes
1 answer

Problem using ";and" in fish when clearing cache in my linux system

I'm trying to create a function that clears my cache in my system according to this page so I need to add the following commands in a function: 1. Clear PageCache only. sync; echo 1 > /proc/sys/vm/drop_caches 2. Clear dentries and inodes. sync;…
VaTo
  • 2,936
  • 7
  • 38
  • 77
-1
votes
1 answer

Strange grep behaviour on fish shell

cat > abc.txt <
khrist safalhai
  • 560
  • 5
  • 19
-1
votes
1 answer

debian terminal cannot change to su

I installed debian strech yesterday. I installed fish shell . I change the default shell to fish by the following su chsh -s 'which fish' Then again enter the this command su chsh -s `which fish` Now after I restart the PC I encountered the…
Sathish Kumar
  • 341
  • 1
  • 3
  • 8
-1
votes
1 answer

Fish shell unable to render symbols properly

Fish shell is not displaying symbols properly in gnome-terminal (Ubuntu 17.04). Fish prompt symbol Staging index status - locale…
rizz
  • 322
  • 2
  • 10
-1
votes
1 answer

Ctrl Right and Ctrl Left doesn't move from a word to another in Fish Shell

When I use my Fish Shell on Linux Mint, using the Ctrl+Left or Ctrl+Right keys isn't moving the cursor to the previous or next word. It switches between an I and an N instead: Here is the I and then the N: I cannot do partial completion then, so…
user7701859
-1
votes
2 answers

Configs in fish

I just started using fish.I have used zsh and bash before. Where do I place the configs in fish? Sample of configs- https://bpaste.net/show/92f553c9aab8 I tried it in ~/config/fish/config.fish but it gave me errors. Errors I got:…
Abhishek Bhatia
  • 9,404
  • 26
  • 87
  • 142
-1
votes
1 answer

Can't execute some python commands for virtual env from Fish shell

I'm on MacOS Sierra and have python3 and python installed via brew. Using the command python3 -m venv my_venv, I created a vitual environment for python3. I then tried to activate it with . bin/activate.fish from within my_venv. However I get the…
Napoleon
  • 879
  • 2
  • 14
  • 36
-1
votes
1 answer

Why does brace expansion not work like a loop in this fish (shell) case?

I would expect these commands to behave identically: # 1 python3 scripts/{01,02}*.py # 2 for script in scripts/{01,02}*.py; python3 $script; end The fact that #1 returns a single line if run with echo instead and #2 returns two makes me believe…
Xiphias
  • 4,468
  • 4
  • 28
  • 51
-1
votes
1 answer

connect to a server without shell initialization

I Installed fish shell on a VM then I stopped login in all users. When i try to login via SSH on my terminal, I receive a permission denied as if I've entered a wrong password. When I access the digital ocean web console, it shows that the password…
-1
votes
1 answer

How to loop over globs in Fish shell?

I'm trying to do a simple loop on a list of glob. In bash it will be for requirement in "$fish_function_path"/__*; do source "$requirement"; done What is the Fish equivalent?
Édouard Lopez
  • 40,270
  • 28
  • 126
  • 178
-1
votes
1 answer

How to edit fishshell startup script

I am on arch linux and have installed the fish shell together with oh-my-fish Can someone tell me which file i edit to add my custom shell startup commands im zsh it was the ~.zshrc what is it in fish shell ? i have a problem, if i put my stuff in…
Mr Mixin
  • 893
  • 3
  • 10
  • 15
-1
votes
1 answer

Fish Shell hangs on startup

I'm on a Mac, Yosemite. I installed Fish yesterday and it was working fine, but today when opening a new window it just hangs. My ./config/fish/fish.config is currently empty so I don't believe its a config issue. After restarting, running with…
thekevinscott
  • 5,263
  • 10
  • 44
  • 57
-1
votes
1 answer

Defining an Alias to Image Magick in Fish Shell

I would like to use Image Magick to trim some images via convert -trim image.png image.png Is there a way to register an alias in Fish Shell, that would shorten the above statement to something like this? trim image.png If so, how do I implement…
doque
  • 2,723
  • 6
  • 27
  • 44
-1
votes
1 answer

Shell replacements stall inside of shared vagrant folder

Recently while at work we were given an older version of ubuntu (12.04) to work with on a vagrant machine. I wanted to migrate over to fish or zsh due to them being way better then default bash but I'm encountering a weird error where if I navigate…
MikaAK
  • 2,334
  • 6
  • 26
  • 53
1 2 3
65
66