Skip to main content

Questions tagged [fish]

Fish is a unix shell with a clean design and a limited but powerful feature set.

1 vote
1 answer
156 views

This question was previously asked here: https://stackoverflow.com/questions/74808784/after-switching-default-shell-command-file-just-opens-terminal However, I have found no reason for the behavior, ...
Simone Manganelli's user avatar
5 votes
1 answer
315 views

In bash, the following command printf 'foo bar\n' | { read a b; printf '<%s> <%s>\n' $a $b; } produces the output <foo> <bar> In fish, the following command printf 'foo ...
enzotib's user avatar
  • 53.5k
3 votes
1 answer
230 views

I'm on MacOs and have been using the shell Fish for quite some time now (installed with Homebrew). Today, I wanted to install vcpkg. I followed the instructions on Microsoft website, and wanted to add ...
PseudoMagnifique's user avatar
-1 votes
1 answer
343 views

I'm moving from bash to fish, and I've installed ilancosman/tide prompt. However, Some characters are not displayed correctly (cf. right part): What I've done : Install MesloLGS fonts by putting *....
John Kravicz's user avatar
-2 votes
1 answer
71 views

I have fish started from zsh. In my config.fish there is a line source ~/.config/fish/easy-tor.fish easy-tor.fish is simply a bunch of abbr statements to quickly turn command-line Tor and SOCKS5 ...
jsx97's user avatar
  • 1,397
0 votes
1 answer
63 views

I want to define the following variables: URL, Username and Password in variables.fish and then import and use it. Since this way I would just need to configure it at one place instead of modifying ...
rakim0's user avatar
  • 3
1 vote
1 answer
430 views

To add something to $PATH in fish, I use fish_add_path -a ~/foo/bar Then fish adds ~/foo/bar to my ~/.config/fish/fish_variables: SETUVAR fish_user_paths:/Users/john/foo/bar Then, is it correct to ...
jsx97's user avatar
  • 1,397
2 votes
1 answer
472 views

I am trying to understand how the set command works on fish shell. For example, to remove the greeting message, the fish manual suggests to: To empty the text, with the default greeting function: set ...
jsx97's user avatar
  • 1,397
-1 votes
1 answer
95 views

I have the following aliases in my zsh: alias -- -='cd -' alias ..='cd ..' alias ...='cd ../..' When I switch to fish, by manually typing fish and pressing Return, the first alias causes an error: - (...
jsx97's user avatar
  • 1,397
1 vote
1 answer
644 views

Since upgrading my server to Ubuntu 24.04 I keep being instantly logged out. When I connect with SSH, it just states [exited]. There seems to be no way of logging into my account anymore. It is a ...
ckhatton's user avatar
  • 121
0 votes
1 answer
162 views

My login shell is zsh. I have added the following two lines to my .zprofile file: path+=$HOME/foobar123 alias foo='echo bar' Then, if I switch to bash or fish, by typing bash or fish and pressing ...
jsx97's user avatar
  • 1,397
4 votes
2 answers
2k views

I prefer to use the fish shell on macOS most of the time, but refrain to make it the login shell, because I think sometimes it may cause problems. So, I simply added exec fish at the very bottom of my ...
jsx97's user avatar
  • 1,397
0 votes
1 answer
318 views

How can one open the fish terminal with a keyboard shortcut like ctl-alt-t in the gnome desktop environment running on debian? Steps I have taken: Installed the fish shell and run it from gnome-...
Sven Voigt's user avatar
0 votes
0 answers
237 views

I would like if it is possible to define completion for sub arguments in fish Best explained w/ an example: $ somecmd -k foo[arg1,arg2,..argK,.,argN] -----------------------------^^^^ Cpmpletions for ...
StephPe71's user avatar
0 votes
0 answers
135 views

Each time I type a command in Linux terminal, the cursor doesn't go to a newline and I have to Ctrl-c in order to get a newline. I already tried the reset command but it doesn't work. This happened ...
JEMEL ELYES's user avatar

15 30 50 per page
1
2 3 4 5
18