Commit Graph

1583 Commits

Author SHA1 Message Date
a-kenji
d341f455ea
fix(comp): typo and add new option (#1178)
Use `-x` for exlusive options
2022-03-05 20:41:58 +01:00
a-kenji
525d4bfb0d docs(changelog): add dynamic completions 2022-03-05 16:25:09 +01:00
a-kenji
e2ce261210
add(comp): dynamic completions for fish (#1176)
And infrastructure to make it possible
to add more dynamic completions for
different shells in the future.

eg:

```
zellij attach [completes-active-sessions]
zellij kill-session [completes-active-sessions]
```

fixes: #1030
2022-03-05 16:23:51 +01:00
a-kenji
be022e212f docs(changelog): fix output of list-sessions 2022-03-04 18:00:22 +01:00
a-kenji
6ad2d55a5d
fix(cli): list-sessions stderr on fail (#1174)
Change `list-sessions` to report an error `1` on the shell
and put the output to stderr,
this can be valuable for scriping and should be consistent with expectations
2022-03-04 17:55:16 +01:00
a-kenji
147fd729dc docs(contrib): fix markup 2022-03-04 17:43:31 +01:00
a-kenji
c8291b6cb0
docs(contributing): add a small nix section (#1173) 2022-03-04 17:40:45 +01:00
a-kenji
8a9fb73791
docs(contributing): add a small nix section (#1172) 2022-03-04 16:33:42 +01:00
a-kenji
5108bed936
fix(cargo.toml): remove reduntant resolver key (#1170)
There is no need anymore to specify `resolver=2`, `edition=2021` already
turns on the appropriate resolver.
2022-03-04 11:47:51 +01:00
a-kenji
ee9f3394fa
fix(nix): add example to exclude (#1168)
and other minor fixes
2022-03-04 10:14:49 +01:00
a-kenji
1ac829a537 docs(changelog): add instructions for void linux 2022-03-04 08:25:52 +01:00
Marcin Puc
d7e87e439a
docs: add installation instructions for Void Linux (#1165) 2022-03-04 08:10:50 +01:00
a-kenji
43e3cad57c fix: depandabot directory 2022-03-03 17:44:57 +01:00
dependabot[bot]
570e25a4e1
chore(deps): bump actions/checkout from 2 to 3 (#1164)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 17:42:54 +01:00
a-kenji
80863b12cf
add: limited set of crates to dependabot (#1163) 2022-03-03 16:56:50 +01:00
a-kenji
aca6d83051
add(nix): add cargo-insta (#1162)
* used for snapshotting the e2e tests
2022-03-03 16:02:58 +01:00
a-kenji
7da408f6b5 docs(changelog): improve layout naming 2022-03-03 14:11:20 +01:00
a-kenji
cd4b8ae8b6
fix(layout): allow lowercase keys and values (#1160)
A layout needed to be specified as follows:
```
---
template:
  direction: Horizontal
  parts:
    - direction: Vertical
      body: true
    - direction: Vertical
      borderless: true
      split_size:
        Fixed: 1
```
now the same layout can be specified as:
```
---
template:
  direction: horizontal
  parts:
    - direction: vertical
      body: true
    - direction: vertical
      borderless: true
      split_size:
        fixed: 1
```
2022-03-03 14:08:51 +01:00
a-kenji
d1c3a367d1
fix(nix): remove jq (#1158) 2022-03-03 12:44:33 +01:00
a-kenji
f7cd29d015 add(nix): binary cache 2022-03-02 19:01:54 +01:00
a-kenji
e0685f6548
add(nix): add binary cache zellij (#1157)
adds a binary cache called `zellij`, hosted by
https://www.cachix.org/
to the project, users can now use the cache by running:
```
cachix use zellij
```

Step by step:
```
bash <(curl -L https://nixos.org/nix/install)
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use zellij
nix-build
```

Documentation: https://docs.cachix.org/installation#
2022-03-02 18:48:42 +01:00
a-kenji
f77c3006dc
add: editorconfig (#1156)
Keep simple configuration synchronized between editors,
in order to hopefully keep diffs to more interesting changes.
2022-03-02 12:12:26 +01:00
a-kenji
837f7ed250 docs(changelog): add env to config and layout 2022-03-01 15:48:49 +01:00
a-kenji
6d653e1521
add: set env var's from config and layout (#1154)
Add ability to set `ENVIRONMENT VARIABLES` from the
config and the layout files.

example:

```
env:
  ZELLIJ_CONFIG:
    DEFAULT
```

or

```
env:
  ZELLIJ_LAYOUT_NAME:
    BUILD_SESSION
```

If two keys conflict (configuration and layout), then the key
from the layout is used.

fixes: #1059
2022-03-01 15:47:52 +01:00
a-kenji
4f84c36024
fix: typo in error message (#1151) 2022-02-28 23:00:47 +01:00
a-kenji
668ee145b0
docs(readme): move install docs to docs (#1150) 2022-02-28 20:32:41 +01:00
a-kenji
feadcbb42d changelog(docs): fix terminal title no pane-frame 2022-02-28 17:56:00 +01:00
Kerfuffle
e2081f2649
fix: Allow terminal title passthrough even when not drawing pane frames. (#1113)
* fix: Allow terminal title passthrough even when not drawing pane frames.

* Minor formatting fix.

* Handle case where the session name is not set.
2022-02-28 17:54:41 +01:00
a-kenji
c2e06a1a70 docs(changelog): add manpage to nix package 2022-02-28 13:44:42 +01:00
a-kenji
4132b747ca
Nix add man (#1148)
* update(nix): add manpage to `man` output

* fmt(nix): nixpkgs-fmt
2022-02-28 13:42:53 +01:00
dependabot[bot]
04ce772673
chore(deps): bump DeterminateSystems/update-flake-lock from 6 to 8 (#1147)
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 6 to 8.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v6...v8)

---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 09:17:16 +01:00
a-kenji
368f100832
add: result-* to gitignore (#1144) 2022-02-28 08:17:54 +01:00
a-kenji
463e745f59
fix(nix): libiconv is already used by darwin builds (#1143) 2022-02-28 08:17:40 +01:00
Thomas Linford
2f475d5d1c
docs(changelog): e2e tests plugins fix 2022-02-27 22:06:49 +01:00
Thomas Linford
3765aa3483
fix(tests): ensure e2e tests use updated plugins (#1047)
* launch zellij with --data-dir flag in e2e tests, to avoid using prebuilt
  plugins from assets dir, and instead use the ones from the docker
  mount.
* make the tests use plugins built in release mode to avoid some test
  failures due to timing issues.
* format Makefile.toml.
* set uid 1001 to in e2e action (thanks to https://github.com/francisfuzz/actions-uid-gid)
2022-02-27 22:05:37 +01:00
Thomas Linford
90d9cbe90b
docs(changelog): csi erase display fix 2022-02-27 21:17:56 +01:00
Thomas Linford
efd2fa412f
fix(compatibilty): do not use current cursor style in csi erase display (#1142) 2022-02-27 21:15:03 +01:00
a-kenji
611ceb0309
Init nix ci (#1141)
* ci(nix): add ci checks for nix

* nix flake metadata

&&

* nix build

* fix: update `Cargo.lock`
2022-02-27 19:21:12 +01:00
a-kenji
2c3af751da
fix: remove Foundation from darwin compatibility (#1140) 2022-02-27 18:03:50 +01:00
github-actions[bot]
124ce48e7e
flake.lock: Update (#1138)
Flake lock file changes:

• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/7f273929e83a196f96a0dbee9ea565952e340bd6' (2022-02-26)
  → 'github:oxalica/rust-overlay/4f6e6588b07427cd8ddc99b664bf0fab02799804' (2022-02-27)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-02-27 17:52:33 +01:00
a-kenji
83223ff8cf Merge branch 'main' of https://github.com/zellij-org/zellij 2022-02-27 17:32:15 +01:00
a-kenji
16d96c5e61 Merge branch 'main' of https://github.com/a-kenji/zellij 2022-02-27 17:31:46 +01:00
a-kenji
24ea2b3b46 docs(changelog): fix unused code warnings 2022-02-27 17:30:54 +01:00
Jae-Heon Ji
b00b23570c
docs(changelog): support cargo-binstall 2022-02-27 23:08:39 +09:00
Jae-Heon Ji
c7913c362c
feat: add cargo-binstall method (#1129)
* feat: add cargo-binstall method

* fix: update archive format type
2022-02-27 23:06:43 +09:00
a-kenji
b7e4d902f2 docs(changelog): fix unused code warnings 2022-02-27 13:25:26 +01:00
Orhun Parmaksız
4d64742fd0
refactor: fix unused code warnings (#1087) 2022-02-27 13:23:59 +01:00
a-kenji
a7e2d55aa7
docs(add): podman as alternative to docker (#1137) 2022-02-27 13:21:36 +01:00
a-kenji
66e591f1d4
fix: gitignore (#1136) 2022-02-27 13:16:16 +01:00
a-kenji
0a0ec00d68
ci(add): update flake lock action (#1135)
as discussed in #1131

Add a github action that creating a weekly pr with updated
flake inputs.
2022-02-27 13:13:05 +01:00