Skip to main content

All Questions

Tagged with
2 votes
2 answers
2k views

Accidentally deleted fish while it was being set as my shell - what can I do?

I'm on macOS and I accidentally removed /usr/local/bin/fish while fish was being set as my shell. Now when I try to start my terminal I get: login: /usr/local/bin/fish: No such file or directory What ...
Hommer Smith's user avatar
4 votes
1 answer
3k views

/bin/bash shell (macOS) throwing `-bash: declare: -A: invalid option` error message at shell start

I briefly changed my default shell on macOS Catalina (10.15.1) to Fish, following the steps in Fish's documentation. First, I executed > echo /usr/local/bin/fish | sudo tee -a /etc/shells followed ...
thrillifying's user avatar
1 vote
1 answer
197 views

Setup different path for fish shell temporally

User libraries are normally in /usr/local/lib. However I want to build some third party libraries in for example /Users/user/Public/lib. I only want to do it during my testing. Is there a elegant way ...
Bagusflyer's user avatar
24 votes
2 answers
17k views

Why am I having / how can I fix this error: "shell_session_update: command not found"

Background I am getting into Ruby 2.x, and Rails 4.x, on a MacBook using OS X El Capitan (10.11.3), using the fish shell, employing the integration listed on this page: RVM - Fish Shell (Integration) ...
Pysis's user avatar
  • 1,100
2 votes
1 answer
752 views

Is administrator account necessary in order to use shells such as zsh and fish?

I have a weird situation. I’m using Mac OS X 10.11 (El Capitan) and iTerm2. Zsh is listed by default in /etc/shells as /bin/zsh, and this allows me to use Zsh without any issues on my standard ...
badfilms's user avatar
0 votes
1 answer
378 views

Trouble installing fish shell on OS X non-admin user group

I am struggling to install the fish shell on OS X El Capitan. My user structure is setup so I have an administrator account and a standard account. The standard account is the one that I use and ...
badfilms's user avatar
4 votes
3 answers
17k views

Running the output of `ssh-agent` in fish; what does `setenv` do?

When I want to start (or restart) ssh-agent, it gives me a few commands that I should run by doing eval $(ssh-agent). Of course this fails for fish, since it gives syntax for bash or csh. The ...
askewchan's user avatar
  • 171
1 vote
1 answer
257 views

Custom bash 'context' when running from FISH

First of all, I'm on OSX10. My default shell is BASH, which I have set up (through .profile and .bashrc) to automatically run the FISH shell when I open my terminal emulator. This allows me to set up ...
Henrik Hillestad Løvold's user avatar