This shows you the differences between two versions of the page.
— |
commands:source [2010-01-26 17:13] (current) asciiphil created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== source ====== | ||
+ | |||
+ | ===== Default Keybindings ===== | ||
+ | |||
+ | None. | ||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | * '' | ||
+ | |||
+ | ===== Description ===== | ||
+ | |||
+ | Read and execute commands from file // | ||
+ | nested to a maximum recursion level of ten. If file is not an absolute | ||
+ | path and '' | ||
+ | directory of the running '' | ||
+ | new command file before '' | ||
+ | |||
+ | Note that '' | ||
+ | only work at startup and reattach time, so they must be reached via the | ||
+ | default screenrc files to have an effect. | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | < | ||
+ | source .screenrc-$HOST | ||
+ | </ | ||
+ | |||
+ | Loads a host-specific .screenrc file. This assumes an environment | ||
+ | variable named $HOST, which is not standard on all systems. | ||
+ | |||
+ | < | ||
+ | bind l source $HOME/ | ||
+ | </ | ||
+ | |||
+ | Binds the sequence '' | ||
+ | This might set up the display in particular ways. Sourcing a file can be | ||
+ | a more convenient way to run several '' | ||
+ | '' | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | * [[:Misc]] | ||