Skip to main content

All Questions

Tagged with
0 votes
1 answer
125 views

How to view a folder with the name of "."?

A folder that is named ".", just dot and nothing else, does not appear in dolphin or krusader file managers. ls -a shows the folder. Terminal output: drwxrwxrwx - root 29 Feb 17:05 . ...
Rashiq's user avatar
  • 171
0 votes
1 answer
123 views

Is it possible to manipulate shell input to wrap commands?

I would like to call a function when a command is entered and modify it for example if a user enters this command touch foo.txt I want to manipulate it to run sudo -u user touch foo.txt The reason ...
phper's user avatar
  • 105
3 votes
2 answers
1k views

How to save abbreviation in fish?

Running abbr --add ro rpm-ostree will set the abbreviation and it works as expected. But once I exit the shell with exit and then re-enter the shell by typing fish again, all abbreviations are lost. ...
RHOOPH's user avatar
  • 123
3 votes
1 answer
1k views

I deleted fish shell and now VS Code terminal doesn't work

I have been working on a tutorial in Angular. Everything was working fine before I went to work today. I came back to my home computer after work today and the fish shell I was using within VS code ...
Michael's user avatar
  • 61
1 vote
1 answer
1k views

How to use jenv with Fish shell on Linux?

I downloaded jenv using the official instructions, added it to the PATH and then tried to init it, using the command given in the instructions, but it throws the following error: > source (jenv ...
MauriceNino's user avatar
3 votes
1 answer
8k views

Alacritty cursor always block (█)

I reinstalled Ubuntu (LTS) yesterday and now my cursor in Alacritty is always a block (█). It works fine in Neovim but whatever I do it stays the same in my normal shell. I tried it in fish, bash, sh, ...
Nils's user avatar
  • 71
0 votes
0 answers
3k views

MobaXTerm “Follow Terminal Folder” STFP & Fish Shell

MobaXterm's "Follow Terminal Folder"/"Follow SSH Path" feature works great when remote SSH into a linux computer, it shows directory & files to the left as you work in the ...
apfsx's user avatar
  • 1
4 votes
1 answer
3k views

/bin/bash shell (macOS) throwing `-bash: declare: -A: invalid option` error message at shell start

I briefly changed my default shell on macOS Catalina (10.15.1) to Fish, following the steps in Fish's documentation. First, I executed > echo /usr/local/bin/fish | sudo tee -a /etc/shells followed ...
thrillifying'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
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
5 votes
2 answers
9k views

How to set a specific version of Java as JAVA_HOME in Fish in macOS

I was using Bash as my default shell on macOS but I decided to switch to Fish. I am trying to switch between different versions of Java. In bash it was done using the ~/.bash_profile export ...
kmb's user avatar
  • 175
2 votes
1 answer
711 views

how to open tcp connection in fish shell

I am looking for a way to open TCP connections in fish shell. In bash, I can do the following to open a TCP connection. This is quick telnet type test when telnet is not installed. $ echo > /dev/...
nelaaro's user avatar
  • 13.7k
7 votes
1 answer
2k views

Why is it not recommended to set the default shell of the root user to a non-POSIX shell?

I am going to change my root’s default shell from bash to fish. As far as I know, fish is a not a POSIX standard shell. On the other hand, maybe the kernel or other things in the system have a ...
Cy8099's user avatar
  • 193
1 vote
1 answer
181 views

Issue with wrong command entered in fish-shell and it's output

Actually I am using fish these days and I completely switched from bash to fish (with chsh & terminal startup command) but the matter is when I enter a wrong command e.g. qwerty its output is: ...
Cy8099's user avatar
  • 193
3 votes
2 answers
3k views

What's causing the file is not executable by user on the windows subsystem for linux?

This seems to have randomly started a few days ago. It used to be fine to run fish shell from Ubuntu bash for Windows. But suddenly when I hit Tab for autocomplete, it barfs with: The file "x86" is ...
Wayne Werner's user avatar
  • 2,393

15 30 50 per page