When I try to source ~/.bashrc i get the following error:
.bashrc (line 9): Unsupported use of '='. In fish, please use 'set PS1 "[\u@\h \W]\$ "'.
from sourcing file .bashrc
source: Error while reading file “.bashrc”
My bashrc file:
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1="[\u@\h \W]\$ "
#Setup Script Edits
alias python=python3
export JAVA_HOME=/opt/jdk-15.0.1
export PATH=${PATH}:${JAVA_HOME}/bin
I suppose you followed a guide. The majority of guides are assuming you use bash shell. You may want to modify the instructions to fish shell.
Since using fish, you have toread about it.
Shell is basically any way to interact with the operating system. (It can be GUI like a desktop environment and command line interface). Fish, bash etc are all command line shells. In this case, zsh, bash and fish each have different customizability and they also can have different features. Most of the commands on linux among these shells are shared. mostly it's the way the command line looks and interacts(example autocomplete and it can also give suggestions).