Generic shell details in [[]]
# Delete history
`delete history`
# As the default shell
https://fishshell.com/docs/current/#default-shell
# Deleting a directory symlink while leaving its contents alone
```shell
rm -f {directory WITHOUT trailing slash}
```
# Environment variables
## For only the life of the shell
```shell
set -gx <name> <value>
```
`-x` exports for inheriting from subprocesses.
## Now and future sessions
Use `-u` for [universal variables](https://fishshell.com/docs/current/language.html#variables-universal) that are stored in `.fish_variables`.