Skip to main content

Questions tagged [fish]

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

35 questions with no upvoted or accepted answers
3 votes
1 answer
132 views

How do I get iTerm2's prompt to make marks when the prompt is Starship?

I've run into a situation where installing Starship breaks the iTerm2 shell integration feature of making each prompt a "mark". The only thing Terminal.app has that iTerm doesn't for me is ...
Evan's user avatar
  • 31
2 votes
2 answers
930 views

In fish shell, how to select with the cursor while shift is held?

In all gui text editing, ctrl-arrow moves the cursor by word, and holding shift selects as the cursor moves. Thus ctrl-shift-left selects the previous word. Fish already has the former but I want to ...
Sam S's user avatar
  • 23
2 votes
1 answer
648 views

Using Fish + NVM + Sublime results in commands not found

I'm using Fish shell/omf, NVM (https://github.com/derekstavis/plugin-nvm), and Sublime Text 3. I'm trying to use a build system to run nodemon (which I installed with npm -g install nodemon). nodemon ...
brandonscript's user avatar
2 votes
1 answer
272 views

How to get fish-style formatting with less

Let's say I run a command like ls in fish and get lots of output, how do I scroll through it and still keep the fish formatting or something like it? ls | less doesn't keep the formatting. I know ...
qwertyuiop's user avatar
2 votes
0 answers
721 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
2 votes
0 answers
1k 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 ...
Chnossos's user avatar
  • 121
1 vote
0 answers
183 views

Is there a way to search token history rather than entire commands

The default fish or fzf implementations for ctrl-R is very helpful for looking through and replacing the prompt buffer with lines in history. Is there something similar to alt-up/down, history-token-...
Xster's user avatar
  • 2,915
1 vote
1 answer
665 views

How can I change the prompt to always show the current path?

I want to continue using the fish shell with as little changes to default setup as possible. But there is one thing that really bugs me. When the terminal window is cramped the prompt just becomes >...
user1283776's user avatar
  • 1,021
1 vote
0 answers
134 views

fish prompt returns to defaults after change in fish_config

I've been using Fish for a while and after installing Oh-My-Fish the prompt changed to the default OMF prompt. And I couldn't change to what I was using before, one of the default Fish prompts called "...
Z33DD's user avatar
  • 11
1 vote
1 answer
194 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
1 vote
0 answers
98 views

fish shell, enter long command

Given the usual size of the terminal window, short commands fit. Ex: stoqlt@desktop:~ > ls files However, typing a command that is longer than the free space after the prompt, and reaching the end ...
stoqlt's user avatar
  • 11
1 vote
0 answers
260 views

Why does fish shell create a hidden process in iTerm2

I've moved from bash to fish shell in iTerm2. However, whenever I start iTerm2, I receive the following error message: A session ended very soon after starting. Check that the command in profile ...
Long Thai's user avatar
  • 121
1 vote
0 answers
166 views

For what purpose is the '&-' file descriptor used in fish?

From the fish manual: [The File Descripter may be] an ampersand followed by a minus sign (&-). The file descriptor will be closed From the Arch wiki:. Silencing standard output: $ ...
jazmit's user avatar
  • 111
1 vote
0 answers
1k views

Creating an alias for in fish shell: The file 'vim' is not executable by this user

I'm trying to create an alias for vim to execute vimx. After creating a new terminal when I try to auto complete vi, I get the following error: fish: The file 'vim' is not executable by this user /...
travis's user avatar
  • 121
1 vote
0 answers
227 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 ...
Ren's user avatar
  • 61

15 30 50 per page