The friendly interactive shell (fish) is a Unix shell that focuses on interactive use, discoverability, and user friendliness.

learn more… | top users | synonyms

8
votes
1answer
284 views

Bind shift-tab to complete-backward in fish

I found myself using the auto-complete functionality of the fish-shell, where pressing tab twice or more cycles through the suggestions. But then I accidentaly pressed tab once to many, and I wanted ...
2
votes
1answer
725 views

How do I change EDITOR to be pico in fish shell?

I can't get hg to use pico as my EDITOR when I'm using fish shell. I've tried set -U EDITOR pico and other variations, but nothing seems to help. "hg commit" will always open vi as the editor, and ...
1
vote
1answer
178 views

How to remove 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 ...
0
votes
1answer
24 views

How to get byobu help screen (shift-F1) to work under a fish login shell?

I can get the Shift-F1 to show the help for a user that has fish as login shell. I get a glimpse of an error message that gets quickly overwritten. It says fish: Variables may not be used as ...
0
votes
1answer
62 views

Is there a way to “source” a sh script from the fish shell?

I like to put many of my environment variable definitions in the .profile script. If I am using a POSIX-compatible interactive shell like bash, I can use the source command to re-export the ...
0
votes
1answer
64 views

“.” command doesn't work in fish

I'm using fish and I'm trying to activate a virtual env, so I tried "source" command which apparently is not available in fish. And I ended up with this link which says: ". (a single period) is an ...
0
votes
1answer
49 views

How to pin information to the top of a terminal window on Mac OSX

I've seen demos where folks have had a Mac OSX terminal where the current time + username + directory are afixed (like 'freeze rows' in excel) to the top of the terminal window (not in the title bar), ...
0
votes
1answer
21 views

How to sync fish's universal variables across different computers?

If you change some universal variables, how do you sync them across computers? The comments on the fishd.* files make it seem like a bad idea to sync those files. And fishd's man pages don't seem to ...
1
vote
0answers
19 views

How to refer to absolute paths in fish?

I'm trying to get fish to recognize an absolute path, either when changing directories or when giving an input to a program. I'm used to typing an absolute path as "C:/..." but in fish the only way I ...
1
vote
0answers
76 views

Fish - A way to configure it such that it does not scroll through tab completions with tab

If you have a directory structure like the below ./test/locationOne ./test/locationTwo ./test/locationThree If, with bash, or fish, you type in cd test/ then hit tab, it will autocomplete until ...
1
vote
0answers
296 views

“set -xe” in fish shell

In bash, invoking set -x at the beginning of a script causes the commands to be printed on stdout while the script is executing. What's the equivalent syntax for the fish shell?
0
votes
0answers
8 views

Cygwin fish mutiline prompt

I've got a multiline prompt in fish which works fine on Ubuntu, but not on Cygwin. Each time I press a button the prompt is reprinted except for the last line. My guess is that cygwin deletes the ...
0
votes
0answers
150 views

My custom fish shell prompt keeps resetting every reboot

I switched to fish shell a month ago and I'm quite pleased with it. But recently, my custom prompt keeps resetting to the default prompt every time I turn on my PC. When opening the terminal, I'm ...
0
votes
0answers
130 views

Using Brew in Fish

I'm using the Fish shell in OSX but my brew installation is broken and I'm struggling to get it working again. Below is the error I get when I try to use brew. Any ideas? If I switch shells (back to ...