summaryrefslogtreecommitdiff
path: root/rc/connect/modules/fifo/fifo.kak
blob: 3866337dc5d1dd240f1eb21600c63c313e75f666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
provide-module connect-fifo %{
  # Modules
  require-module connect

  # Register our paths
  set-option -add global connect_paths "%opt{connect_modules_path}/fifo/aliases" "%opt{connect_modules_path}/fifo/commands"

  # Commands
  define-command fifo -params 1.. -shell-completion -docstring 'Run command in a fifo buffer' %{
    $ :fifo %arg{@}
  }
}