All Questions
35
questions
0
votes
1
answer
126
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 .
...
0
votes
1
answer
126
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 ...
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. ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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) %(...
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 ...
2
votes
1
answer
712
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/...
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 ...
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: ...
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 ...