Open reyalka opened 2 months ago
or you can implement like below:
if set -q AQUA_ROOT_DIR
set -l aqua_path $AQUA_ROOT_DIR
else if set -q XDG_DATA_HOME
set -l aqua_path $XDG_DATA_HOME
else
set -l aqua_path $HOME/.local/share
end
fish_add_path $aqua_path/aquaproj-aqua/bin
Scripts for fish are required in the following document
following code is written in that document:
However, it is only for bash or zsh. The script for fish user is required like this:
(It is longer than sh script because fish shell doesn't have an operator
:-
)