Commit graph

24 commits

Author SHA1 Message Date
Kunal Mohan
2038947a14 Big refactor: separate crates for client, server and utilities 2021-05-16 21:41:56 +05:30
Kunal Mohan
f2c43ac577 Fix memory overflow error and add panic hook for server 2021-05-15 22:14:34 +05:30
Kunal Mohan
0d792e26f2 Switch to multiprocess model: Not looking good 2021-05-15 22:14:34 +05:30
a-kenji
d667e5ed81 Add check flag to the setup subcommand
* The check option communicates default and config options to the user
  as well as optional compile time features

* Move generate-completion from a subcommand to a flag in the setup
  subcommand
2021-05-14 11:45:19 +02:00
a-kenji
6ffd698d0a Slight rework of config loading.
Merges the cli and file configuration
2021-05-12 09:57:47 +02:00
a-kenji
9c5f0a05c1 Poke 2021-05-10 17:08:30 +02:00
a-kenji
088bcf3dd8 Add Option for Simplified Layout
* the simplified layout omits the Nerdfonts characters that are not
  found in every Fontset

* add an optional config option to opt into the simplified ui
  `simplified_ui: bool`

* add a config flag that allows opting into the simplified ui
  `zellij options --simplified-ui`

* move the `clean` flag to the `setup` subcommand
2021-05-10 16:03:06 +02:00
Kunal Mohan
d33106431d Fix after rebase 2021-05-04 20:48:17 +05:30
Kunal Mohan
9110e444b8 remove Split, OpenFile and MoveFocus from CliArgs 2021-05-04 20:48:16 +05:30
Kunal Mohan
fedb588330 Fix after rebase 2021-05-04 20:48:15 +05:30
Kunal Mohan
588cdaa008 isolate pty thread 2021-05-04 20:47:48 +05:30
a-kenji
77e0b5e0d7 Config Loading
* Configuration is now handled in this order:
 --config flag
 ZELLIJ_CONFIG_FILE env
 get_default_config_dir() (directories-next)
 HOME/.config/zellij (for mac convenience)
 SYSTEM_DEFAULT_CONFIG_DIR (for distributions to specify sensible
 defaults ontop of zellij)
 from assets

* Fix default.yaml file

* Move default.yaml file to assets directory
2021-04-27 21:38:26 +02:00
Matthias Beyer
49429688cf fixup! Add subcommand to generate completions 2021-04-25 15:53:17 +02:00
Matthias Beyer
9aca589167 Add subcommand to generate completions
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-25 14:33:53 +02:00
a-kenji
2c12e8ff83 Change Config To Flag (#290)
This changes the `config` subcommand to a config flag.

Add option subcommand for now, for the clearing of default path.

Add `ZELLIJ_CONFIG` environment variable.

The configuration locations are now as follows:
    * `--config` flag
    * `ZELLIJ_CONFIG` environment variable
    * default config location
in that order.
2021-04-21 09:03:46 +02:00
Brooks J Rady
af702b67e6 feat(build): vastly simplify the build system 2021-04-14 19:08:22 +01:00
a-kenji
d9a85e977d Readd short option for config 2021-04-04 19:27:28 +02:00
a-kenji
91c109a902 Move test to /unit 2021-03-17 22:50:03 +01:00
a-kenji
e64192b42e Add a clean config option
Add a clean config option, which
makes zellij not look for a default
configuration file.
2021-03-17 16:56:02 +01:00
a-kenji
564ded0bb3 Add short --config -c option 2021-03-16 21:22:59 +01:00
a-kenji
2b2b7325e7 Poking around 2021-03-11 13:58:58 +01:00
a-kenji
c644a1c243 poking 2021-03-05 19:23:06 +01:00
henil
af95b3ff9a Update references in src/ 2021-02-10 12:22:15 +05:30
Henil Dedania
0994c8abcd
feat(completions): Add shell completions files (#128)
* Add shell completions and output files to `assets/completions`

* Rename files and struct name

* Update tests to take into account new changes
2021-01-07 15:14:28 +05:30