Fish 🔗

Fish 🔗

FAQ 🔗

Setting path: 🔗

set -gx PATH /dir/to/add/to/path $PATH

Variables 🔗

Set variables:

set -x VAR_NAME VALUE # local - just in the current env
set -gx VAR_NAME VALUE# global - persistent
set -Ux VAR_NAME VALUE # universal - persistent + applied to all open shells

Unset variables:

set -e VAR_NAME
set -ge VAR_NAME
set -Ue VAR_NAME