Skip to main content

All Questions

Tagged with
11 votes
7 answers
9k views

Add abbreviations in fish config

I would like to use the abbreviations feature of the fish shell, especially for the known bash variable !! or aliases to common git commands. I know that abbreviations can be added like in the ...
Daniel Rotter'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
3 votes
1 answer
2k views

How to chain a group of commands in Fish like { … } Bash?

I'm aware of chain Fish commands via && or || but I'm willing to chain a set of commands Code env git clone --depth=1 https://github.com/rafaelrinaldi/theme-pure.git; or { printf "Error: ...
Édouard Lopez's user avatar
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
2 votes
3 answers
139 views

What's the fatest way to calculate in command line?

Is there a faster way to calculate in command line the following: echo "4 * 5" | bc
Texom512's user avatar
  • 131
18 votes
3 answers
11k views

How to run a command in background with no output unless there's an error

How to suppress a command's output but show it if the command exit codes an error?
Xster's user avatar
  • 2,935
2 votes
0 answers
722 views

RVM is not a function message when using fish shell

I'm trying to use rvm from within the fish shell rvm gemset use rails3 I'm getting the following error message from fish RVM is not a function, selecting rubies with 'rvm use ...' will not work. ...
bigtunacan's user avatar
5 votes
1 answer
8k views

How do I get fish shell prompt to show the hostname?

I'm attempting to make my Fish prompt look like the old Gentoo shell did. user@hostname ~ % where the user@hostname is green, and the $PWD and symbol were blue. Right now it only shows: user@ ~ %, ...
longviewbits's user avatar
2 votes
2 answers
661 views

Escape-backspace behavior in fish shell like in other shells

I recently started using the fish shell for some things and generally like it. However I've run across one situation that would be great if there were a workaround. Say I typed a command like this: ...
Devin's user avatar
  • 227
0 votes
1 answer
414 views

Fish Shell STDERR not outputted by default

I am using the fish shell, which until this moment had been a perfect replacement of the good old bash, but I came across the following problem. fish does not forward STDERR to STDOUT. Of course if I ...
Itay Grudev's user avatar
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
2 votes
1 answer
626 views

Can't start new fish session after incorrectly closing fish_config

I'm trying out fish (the friendly interactive shell), and tried out the browser-based config with fish_config. I didn't close this correctly. I hit ctrl-C in my shell. Now I see the error "The ...
chadoh's user avatar
  • 20.2k
44 votes
6 answers
29k views

How to remove a path from $PATH variable in fish?

I am using fish as my shell in Debian and recently (after some upgrade) whenever I try to use command completion I have: set: No such file or directory set: Could not add component /usr/lib/x86_64-...
tomekK's user avatar
  • 541

15 30 50 per page