Alias configuration for FISH added

This commit is contained in:
Fr4nz D13trich 2026-01-02 16:03:07 +01:00
parent 35ddd28a3b
commit 805a80ff89

View file

@ -219,7 +219,7 @@ add_alias() {
echo -e "\n ${LCY}$ALIAS ${GRN}added to${CRS} $HOME/.bashrc\n"
elif [ "$ACTIVE_SHELL" == "fish" ] ; then
if [ "$(cat $HOME/.config/fish/fish.config | grep "source $ALIAS")" ] ; then
if [ "$(cat $HOME/.config/fish/fish.config | grep "source $HOME/.config/fish/$ALIAS.config")" ] ; then
echo -e "\n ${LCY}$ALIAS ${GRN}already present in${CRS} $HOME/.config/fish/fish.config\n"
exit
fi