mirror of
https://github.com/nushell/nushell.git
synced 2024-12-03 05:44:09 +01:00
449 B
449 B
title | layout | version |
---|---|---|
hide | command | 0.59.1 |
Hide symbols in the current scope
Signature
> hide (pattern)
Parameters
pattern
: import pattern
Examples
Hide the alias just defined
> alias lll = ls -l; hide lll
Hide a custom command
> def say-hi [] { echo 'Hi!' }; hide say-hi
Hide an environment variable
> let-env HZ_ENV_ABC = 1; hide HZ_ENV_ABC; 'HZ_ENV_ABC' in (env).name