Quantcast
Channel: Active questions tagged fish - Stack Overflow
Browsing all 130 articles
Browse latest View live

How do I enable "!!" in fish?

I often used $ sudo !! while using bash. After switching to fish, I noticed this no longer works. Due to search engines not supporting search for special characters, this has been particularly...

View Article


How to find orphaned files with a fish shell script

In a Fish Shell script, how can I recursively find files ending in: .xmp, .pp3, .out.pp3 that do not have an accompanying image file. The result should be written into a variable.If I have the...

View Article


Migrating from zsh to fish - config file syntax [closed]

I am migrating from zsh to fish. I am still new to the fish shell.I had the below in my .zshenvexport GPG_TTY=$(tty)And the below in my .zshrc#To automatically use bicon.if ! [[ "$(ps -p $(ps -p $(echo...

View Article

Read file lines into list

How come $VARS doesn't contain ('testing', 'second') in the following example:~ ❯❯❯ /bin/cat ttestingsecond~ ❯❯❯ /bin/cat t | read -L -a VARS~ ❯❯❯ echo $VARStesting~ ❯❯❯I thought that -L is supposed to...

View Article

How to override (decorate) a builtin fish function

I would like to silence the printf that is found on line 9 of /usr/share/fish/functions/__fish_move_last.fish because I find it annoying.How can I do that without copying the entire function over?If I...

View Article


How can I set environment variables to non-utf8 values? [closed]

In fish I want to set an environment variable to a non-utf8 value like \x80 (the character sequence of length one with the value 0x80, i.e., 128). I already triedset -x a \x80fish: Invalid token...

View Article

How do you dynamically reload fish config files as you would in bash?

I am looking for the equivalent of source .bashrc for Fish.

View Article

How do you disable fish shell's guessing autocompletion feature?

In bash, if you type something like:ls /etc/abcand hit <tab>, it will beep, and do nothing, basically letting you know that it couldn't figure out how to complete it. In the case of that specific...

View Article


Syntax coloring with Vim and Fish-Shell

What is the best editor for fish scripts? I mean an editor which can properly highlight, indent and syntax check.I found the vim-fish project, but I am still scratching my head as to how to install it...

View Article


List functions in fish config file?

How can I list all the functions I have saved in the config file?I tried functions | cat, but that listed a bunch of functions that are not in my config folder.

View Article
Browsing all 130 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>