mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-20 18:44:25 +00:00
chore(fish): unset variables
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user