summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-source-file.c
AgeCommit message (Expand)Author
2020-09-01Add -F to set-environment and source-file; GitHub issue 2359.Nicholas Marriott
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsNicholas Marriott
2020-04-13Make struct cmd local to cmd.c and move it out of tmux.h.Nicholas Marriott
2019-12-21Restore source-file -q behaviour, broken in r1.42; OK nicm@Tim van der Molen
2019-12-19When adding a list with multiple commands to the queue, the next item toNicholas Marriott
2019-12-18Do not rely on errno after glob(3) fails.Nicholas Marriott
2019-12-12Change source-file to use new file code which allows it to read fromNicholas Marriott
2019-06-05Add a -v flag to source-file to show the commands and line numbers.Nicholas Marriott
2019-05-28Exit 1 correctly if source-file fails.Nicholas Marriott
2019-05-28Allow source-file to take multiple arguments.Nicholas Marriott
2019-05-23Replace the split parser code (cfg.c and cmd-string.c) with a singleNicholas Marriott
2019-05-20Fix ordering of source-file with multiple files and add flags to load_cfg.Nicholas Marriott
2018-05-24Make server_client_get_cwd used (almost) everywhere we need to work outNicholas Marriott
2017-04-19load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi.Nicholas Marriott
2017-02-14Make source-file look for files relative to the client working directoryNicholas Marriott
2017-01-29Add -n to break-pane.Nicholas Marriott
2017-01-09source-file -q needs to apply to glob(3) too.Nicholas Marriott
2017-01-09Run the source-file pattern through glob(3).Nicholas Marriott
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.Nicholas Marriott
2016-10-16Rewrite command queue handling. Each client still has a command queue,Nicholas Marriott
2016-10-14source-file and some other commands can recurse back into cmdq_continue,Nicholas Marriott
2016-10-13Trying to do hooks generically is way too complicated and unreliable andNicholas Marriott
2016-10-10Add static in cmd-* and fix a few other nits.Nicholas Marriott
2016-05-12- Rework load_cfg() error handling a little.Tim van der Molen
2016-04-29Final parts of command hooks, add before- and after- hooks to each command.Nicholas Marriott
2015-12-13Use member names in cmd_entry definitions so I stop getting confusedNicholas Marriott
2015-12-13Instead of every command resolving the target (-t or -s) itself, prepareNicholas Marriott
2014-10-27Move cfg_causes local into cfg.c and remove struct causelist.Nicholas Marriott
2014-10-20Instead of setting up the default keys by building the key structNicholas Marriott
2013-10-10Make cmdq->client_exit a tristate (-1 means "not set") so that ifNicholas Marriott
2013-10-10Remove the barely-used and unnecessary command check() function.Nicholas Marriott
2013-04-12Copy the client into the new cmdq in source-file so commands that workNicholas Marriott
2013-03-25Continue the parent cmdq after sourcing a file.Nicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
2012-11-27Correctly aggregate together errors from nested config files (withNicholas Marriott
2012-07-11Make command exec functions return an enum rather than -1/0/1 values andNicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2011-01-04Clean up and simplify tmux command argument parsing.Nicholas Marriott
2010-12-29Allow the config file parser and source-file to return "don't exit" toNicholas Marriott
2010-02-06Use the array.h code for the causes list.Nicholas Marriott
2010-02-06Instead of bailing out on the first configuration file error, carry on,Nicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-13Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in theNicholas Marriott
2009-09-21Use KEYC_NONE constant instead of 0 on init.Nicholas Marriott
2009-08-23When using source-file, run the commands in the context of the source-fileNicholas Marriott
2009-07-26Make all messages sent between the client and server fixed size.Nicholas Marriott
2009-07-13Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott