Questions tagged [fish]
Fish is a unix shell with a clean design and a limited but powerful feature set.
267 questions
1 vote
1 answer
104 views
Using fish as default shell in Terminal on macOS causes .command files to fail
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, ...
3 votes
1 answer
204 views
I rewrote Fish path and broke everything
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 ...
-2 votes
1 answer
58 views
Where to store a file with abbr statements that is sourced from config.fish?
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 ...
1 vote
1 answer
388 views
Remove certain path from $PATH
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 ...
-1 votes
1 answer
90 views
zsh alias causes error if used in fish
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: - (...
0 votes
1 answer
126 views
Inheriting path modifications vs. Inheriting aliases
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 ...
0 votes
1 answer
283 views
Trying to set a keyboard shortcut to the fish shell desktop application
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-...
0 votes
0 answers
121 views
All commands need Ctrl-c in Linux terminal
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 ...