chore(fish): unset variables

This commit is contained in:
Michele Cereda
2024-05-02 02:05:05 +02:00
parent 4bd0ff32ba
commit 5bb81ae433

View File

@@ -20,6 +20,13 @@ zypper install 'fish'
fish
fish -Pil
# Set variables.
set 'MyVAR' 'someValue'
set -x 'MyExportedVAR' 'someValue'
# Unset variables.
set -e 'MyVAR'
# Change one's default shell to `fish`.
chsh -s (which fish) # from `fish`
chsh -s "$(which fish)" # from `{ba,z}sh`