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.

3 votes
1 answer
108 views

Fish: Concise way to output elements of list on separate lines

I am wondering if there is a concise way to output the elements of a fish list on separate lines. I know I can do e.g. echo $PATH | tr ' ' '\n' to achieve the desired output, e.g.: /usr/local/sbin /...
josmith42's user avatar
  • 198
1 vote
1 answer
157 views

Redirect Streams

I am trying to redirect the results of rg to comm to compare the match intersection. Fish seems to think that I will be passing a file path and and not the stream. > comm -12 <(rg -l "\\bar\\b" ...
William Rusnack's user avatar
6 votes
1 answer
3k views

What's the easiest way to prepend the current time to the fish prompt?

I'd like to see the current time in my fish prompt so that I can always see for example when I started the last command. I don't want to install extensions.
Suzana's user avatar
  • 319
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
0 votes
1 answer
536 views

Why might I not see stty key changes reflected in "stty -a"

I'm trying to change some key bindings in my console (Konsole). If I map intr to Ctrl-k, by running stty intr \^k I don't see the change reflected in stty -a speed 38400 baud; rows 46; columns 172;...
EricS's user avatar
  • 607
0 votes
1 answer
1k views

How to copy fish config files to remote computer?

I am looking for instructions or a script to copy my fish config files to a new computer via scp. Or at least build a tar file with all of them.
krokodil's user avatar
  • 101
6 votes
1 answer
879 views

Fish Shell - can't find where "la" is defined as "ls -la"

On both my Mac and Ubuntu when I type "la" in Fish Shell I receive output identical to that from "ls -la". I thought I might have defined it as a function. However, I can not find "la" being defined ...
rkv's user avatar
  • 63
3 votes
1 answer
11k views

Installing Homebrew with fish-shell

I recently had a mishap with MySQL and when I uninstalled it from System Preferences it uninstalled Homebrew as well (I checked the erase all files that are related to MySQL, which was probably not ...
WaterTrash's user avatar
1 vote
1 answer
143 views

vim displays rbg codes in quickfix bar before error output

Recently I've started using :make and various other commands that make use of the quickfix bar. However the output it produces has this initial line of an escape character and rgb codes. I was able ...
Tom Taylor's user avatar
0 votes
0 answers
220 views

Can't find command after setting PATH in fish

I'm struggling to add /usr/local/bin to my PATH so I can use geckodriver, which is located in /usr/local/bin/geckodriver. I tried the to add the following to my config.fish set -U fish_user_paths /...
kachink's user avatar
4 votes
2 answers
1k views

No colors in weechat, tig, htop, ranger, etc

I noticed that on my Mac I don't have any colors in e.g., tig, weechat, htop or ranger. On my linux I do. It happens in all terminal apps I have (alacritty, iterm and Terminal.app), in zsh, fish and ...
Vey's user avatar
  • 171
1 vote
1 answer
311 views

Fish generated Rsync command has unexpected effects

I am using fish shell and I have a helper function to generate a rsync command with my parameters all set. The final rsync command should be like this (the command is in one line, I made it multiline ...
qmeeus's user avatar
  • 113
3 votes
1 answer
1k views

How to Expand Abbreviations Inline in Fish Shell?

I'm trying to save some time in Fish Shell by setting an abbreviation (nu) to expand to the string: my-username@my-ip-address:/home/my-username What I'm hoping to achieve is to enter: scp some-file ...
JMTusk_16's user avatar
  • 221
3 votes
3 answers
2k views

Powerline and Fish: How can I remove the large whitespace between the shell prompt and cursor?

I recently started using Arch Linux and just installed Powerline and Fish (version 3.0.0) last week. In my terminal, which is Termite (version 14), there's a large (horizontal) space between the shell ...
Qhapaq Qowi's user avatar
1 vote
2 answers
2k views

Running command for bash in fish shell

I'm trying to identify all the large files in my git repo history and came across this command posted here. git rev-list --objects --all \ | git cat-file --batch-check='%(objecttype) %(objectname) %(...
Physbox's user avatar
  • 113

15 30 50 per page
1
3 4
5
6 7
13