Logo
Explore Help
Sign In
h/fish-shell
1
Fork 0
You've already forked fish-shell
mirror of https://github.com/fish-shell/fish-shell.git synced 2026-05-06 14:21:14 -03:00
Code Issues Packages Projects Releases Wiki Activity
Files
4e465ee04cf574fcf355ae5ca953b4baa9d93e0a
fish-shell/tests/function.status

2 lines
2 B
Plaintext
Raw Normal View History

Add new `functions` flag -V/--inherit-variable --inherit-variable takes a variable name and snapshots its current value. When the function is executed, it will have a local variable with this value already defined. Printing the function source will include synthesized `set -l` lines for the values. This is primarily useful for functions that are created on the fly, such as in `psub`.
2014-10-02 15:59:24 -07:00
0
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 42ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API