We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
following code is written in that document:
export PATH="${AQUA_ROOT_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/aquaproj-aqua}/bin:$PATH"
However, it is only for bash or zsh. The script for fish user is required like this:
fish_add_path (set -q AQUA_ROOT_DIR; and echo $AQUA_ROOT_DIR; or set -q XDG_DATA_HOME; and echo $XDG_DATA_HOME; or echo $HOME/.local/share)/aquaproj-aqua/bin
(It is longer than sh script because fish shell doesn't have an operator :-)
:-
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
No branches or pull requests
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
:-
)The text was updated successfully, but these errors were encountered: