Questions tagged [fish]
Fish is a unix shell with a clean design and a limited but powerful feature set.
29
questions with no upvoted or accepted answers
4
votes
0
answers
102
views
Tracing environment variable modification in the fish shell
There's one item I used to use in $PATH, which is ~/.workspace/bin. I can't figure out where it's coming from.
I changed the user shell to /bin/sh, logged in from TTY, checked $PATH, and it was clear ...
3
votes
0
answers
34
views
Sharing fish configuration across computers
I'm trying to share configurations across my computers (macOS and WSL2). Most of my configurations (abbreviations, plugins configuration) are by default in fish_variables which is meant to be ...
3
votes
0
answers
810
views
How can I send stdout to multiple commands in fish shell?
Same question as How can I send stdout to multiple commands? but for fish shell.
2
votes
0
answers
108
views
Memory usage out-of-control with shell command, but not with shell script
[Linux Mint 20.1, 16GB RAM, 16GB swap]
I recently converted my system - root and backup partitions - to BTRFS. I've been experimenting with archiving some of root's snapshots to my backup drive, but ...
2
votes
0
answers
191
views
Ranger image preview not working in URXVT running Fish shell until I open an image in Feh
I recently started using the Fish shell, and after opening a new URXVT instance I cannot get image previews in Ranger until I open an image first (using feh, in my case). Once an image has been opened ...
2
votes
0
answers
280
views
History expansion in fish
I want to run the previous command with part of it replaced. In bash, I can use the history expansion feature: ^x^y runs the previous command again, except with x replaced by y. I tried it in fish and ...
2
votes
0
answers
110
views
Printing autocomplete info on current option in fish shell
When writing a command with a - option and pressing tab, a list of possible completions with short explanations of what the options do is displayed. Is there a way to make this list also contain the ...
2
votes
0
answers
140
views
Is there a way to determine from bash what is wrong with fish?
Just installed oh-my-fish and start modifying oh-my-fish default theme under another name and broke something.
Now after login the cursor just blinks and I can write but nothing is interpreted as ...
2
votes
0
answers
335
views
vf project in fish shell
I am using virtual fish on fish shell, so while trying to do vf project projectName it throws the below error:
vf project pytube
fish: Unknown command 'virtualenv'
/Users/userName/clones/...
2
votes
0
answers
1k
views
Unable to create a configuration directory for [FishShell] Please set the $XDG_CONFIG_HOME variable
I'm getting this error when starting fishshell:
melanie:~ melanie$ fish
fish: Unable to create a configuration directory for fish. Your personal
settings will not be saved. Please set the $...
1
vote
0
answers
162
views
Fish Shell Showing /usr/bin/git after every command. Any way to remove this?
Been trying to find where this is coming from and I can't seem to figure it out. I know that It's the location of my git install, but not much else. Is it echoing somewhere from some sort of fish ...
1
vote
0
answers
67
views
urxvt writing over itself and leaving colored spaces
URXVT is writing over itself and leaving behind colored spaces... I feel like this is easier shown than described:
This started occurring overnight without making any changes, so I'm not sure where ...
1
vote
1
answer
78
views
Resume n jobs to background concurrently
I have many paused jobs in my shell. I would like to run bg for all of the jobs with a maximum four jobs running concurrently.
I know I can use GNU parallel for new tasks but I would like a BASH or ...
1
vote
0
answers
305
views
Set permanent environment variable for all shells
I want to set the root level environment variable that comes from sh(1) so that it is shared across all shells: sh, bash, zsh, and fish.
I can see in /etc/profile there's a command /usr/libexec/...
1
vote
1
answer
268
views
Enabling fish-style manpage-based completion in bash
One of the really appealing features of fish is that it supports intelligent tab completion of options based on their specifications in each command's respective manpage. Has anyone created a way to ...
1
vote
0
answers
2k
views
Unable to execute bash scripts from within fish-shell
I have a collection of bash scripts that I have added to the PATH so that I can execute them from anywhere.
export PATH=$PATH:~/<path>/<to>/<scripts>
so along with
./<path>/&...
1
vote
1
answer
555
views
Looking for fish theme with powerline, full path and return and carriage return after the prompt line
I'm looking for a theme I noticed some time ago and that I can't find again, it was a theme on fish or zsh where the prompt line (user & path) had powerline theme, the full path was displayed and ...
1
vote
0
answers
105
views
Internal path not set in GVim when launched from gvim.desktop
shell: bash, fish
terminal: xfce4-terminal
other-applications: xfce4-whiskermenu, tmux
I'm trying to have GVim inherit the full path from bash and/or fish when launching from from xfce-whisker-menu....
1
vote
0
answers
1k
views
$PATH variable on Fish Shell OS X
I have somehow screwed up my path variables with Fish shell on OS X.
Is this the proper $PATH variable in the config.fish?
user@host ~> more ~/.config/fish/config.fish
set -g -x PATH /usr/local/...
0
votes
0
answers
30
views
ytp-dlp with external downloader has black frames
I have the following fish shell script for downloading a slice of a video using yt-dlp and ffmpeg
function yt-dlp-trim -d "Download a slice of a video with yt-dlp"
if test (count $argv) ...
0
votes
0
answers
107
views
fzf not using `$FZF_DEFAULT_COMMAND`
I'm trying to get fzf to use rg --files as its command for searching, but can't seem to get it to use the $FZF_DEFAULT_COMMAND environment variable, as described in the docs.
I use fish as my shell, ...
0
votes
0
answers
69
views
Setting Fish Shell as default shell, prevents me from accessing commands
I used the following to set my default shell
chsh -s `which fish`
Which works great, but many commands such as brew and npm no longer works. Previously, accessing fish shell from zsh shell still ...
0
votes
0
answers
89
views
How to create a keyboard shortcut for opening files after searching through fzf
I can launch a file after searching through fzf by doing xdg-open (fzf) (I'm using fish) or fzf | xargs xdg-open. But these do not work if I try to create a shortcut for opening a terminal and ...
0
votes
0
answers
130
views
How to make --exclude-glob work with this use case of lftp and fish shell?
I have a statement that looks like this:
set cmd 'set ssl:verify-certificate false;
open -u abc,def ftp.somewhere.com;
mirror --only-newer --exclude-glob "{.git|node_modules|wp-config.php}" \...
0
votes
1
answer
283
views
How can I get numbers in fish history
I'm using fish shell but the history command in this returns something like
ls
cd Downloads
ls
mkdir new_folder
whereas, the same thing in zsh would return
399 ls
400 cd Downloads
401 ls
402 mkdir ...
0
votes
0
answers
67
views
Fish shell error
When I type command in fish shell, after command it returns: Could not send own process 401, 'sed' in job 3, 'commandline | sed 's|\s\+|\x1e|g'' from group 400 to group 400 setpgid: unknown error (...
0
votes
0
answers
92
views
I'm not able to figure out why fish-shell is not able to read my scripts directory from $PATH
After my failed attempt to unify my bash and fish configuration, I have finally separated both and 'hoping' that things should be fine now.
As per the suggestions I received (against trying to re-use ...
0
votes
0
answers
60
views
Symbols showing on blue background in Debian with oh-my-fish on WSL
I am using fish-shell on Debian with oh-my-fish installed. When I run the shell, it shows the prompt not on the black bckground, but on the light blue instead.
This is running in Windows Terminal ...
-1
votes
1
answer
159
views
How to set environmental variables in Fish?
Guys I recently switched to fish from Bash and I've run into problems setting some specific variables for golang in fish.
In my bashrc I would set them using:
export PATH="$PATH:$(go env GOPATH)/...