Commit Graph

565 Commits

Author SHA1 Message Date
Arijit Basu
0272284f40
Fix print formatting 2021-04-06 17:40:16 +05:30
Quentin Guilloteau
a9309a52c0 add comment to remind to update the version in the default.nix file 2021-04-06 16:59:58 +05:30
Quentin Guilloteau
42ca66c0fd use release tarball 2021-04-06 16:59:58 +05:30
Quentin Guilloteau
73a492bd3a add default.nix 2021-04-06 16:59:58 +05:30
Christian Paul
e034827f01 Update README.md: it's -> its 2021-04-06 13:24:56 +05:30
Arijit Basu
6dff9dbe65
Add donation button 2021-04-06 09:33:45 +05:30
Arijit Basu
175699ac63
Expose $XPLR_PIPE_MODE_OUT
Also, add new line character to `$XPLR_PIPE_MODE_OUT` and
`$XPLR_FOCUS_PATH` for consistency.
2021-04-06 07:52:37 +05:30
Arijit Basu
eeee3394bc Improve version incompatibility error
With this change, `xplr` will only raise version incompatibility error
if the major version changes. Minor version updates are assumed to be
backwards compatible.

If the major version is `v0`, the minor version will be considered as
the major version and the security/patch version will be considered as
minor version and the same logic will apply.
2021-04-06 06:43:51 +05:30
Arijit Basu
981ead8c36 Fix large env vars breaking the subprocess
Bug:
When you call some command in a directory with a large number of hosts,
xplr will fail setting the environment vars as the command will become
too large to handle.

Fix:
Port the value of multi-line variables from env vars to pipes and set
the name of the pipe as env var instead. And deprecate the variables
that doesn't make much sense.

In other words,

- `$XPLR_APP_YAML` has been removed.
- `$XPLR_RESULT` has been ported to `$XPLR_PIPE_RESULT_OUT`.
- `$XPLR_GLOBAL_HELP_MENU` has been ported to
  `$XPLR_PIPE_GLOBAL_HELP_MENU_OUT`.
- `$XPLR_DIRECTORY_NODES` has been ported to
  `$XPLR_PIPE_DIRECTORY_NODES_OUT`.
- `$XPLR_LOGS` has been ported to `$XPLR_PIPE_LOGS_OUT`.
- `$XPLR_PIPE_RESULT` has been ported to `$XPLR_PIPE_RESULT_OUT`.

Hence, instead of `<<< $VAR`, `< $VAR_PIPE_OUT` should be used.
2021-04-05 20:28:35 +05:30
Arijit Basu
9747c8667b Autocomplete the relative path while renaming
By default, while renaming a file, autocomplete the relative path i.e.
the filename instead of the absolute path in the input buffer.
2021-04-05 13:50:53 +05:30
Arijit Basu
86c27d4eed
Try fixing CD pipeline 2 2021-04-05 13:05:04 +05:30
Arijit Basu
5f791406ce Try fixing CD pipeline 1 2021-04-05 12:56:34 +05:30
Arijit Basu
67f2094a4c Autorefresh, BashExec and basename
- Auto `Refresh` every second.
- Add alias `BashExec` to message `Call` with args [`-c`, `bash` ...].

Also, Create alias `BashExec` to message `Call` with arguments [`bash`, `-c`]
2021-04-05 12:51:31 +05:30
Arijit Basu
dba8631911 Add CI/CD gh actions
Mostly stolen from https://github.com/Rigellute/spotify-tui.
2021-04-05 12:32:40 +05:30
Arijit Basu
8dae2fef4d
Add native support for renaming 2021-04-04 16:47:03 +05:30
Arijit Basu
2f409a2117
Add support for :{number} like vim 2021-04-04 15:47:14 +05:30
Arijit Basu
2432673483
Log error if command fails 2021-04-04 15:18:13 +05:30
Arijit Basu
b03618737c
Remove skim from dependency 2021-04-04 11:56:44 +05:30
Arijit Basu
3ba30c1fea
Create CODE_OF_CONDUCT.md 2021-04-04 10:22:26 +05:30
Arijit Basu
4d2caf512e
Log explorer errors 2021-04-04 10:05:52 +05:30
Arijit Basu
e93e815bc4
Add upgrade instructions for incompatibility error 2021-04-04 09:17:53 +05:30
Arijit Basu
a11dca5a1c
Finish documenting the messages 2021-04-04 08:54:42 +05:30
Arijit Basu
b98812fe06
Fix "Input" case 2021-04-03 21:38:09 +05:30
Arijit Basu
500f15bd32
Make UI lowercase 2021-04-03 21:35:50 +05:30
Arijit Basu
f3b72343f1
Fix benchmarking 2021-04-03 21:28:02 +05:30
Arijit Basu
1b1cd393bc
Document a little 2021-04-03 15:27:15 +05:30
Arijit Basu
af8a637030
Logging, testing and other improvements 2021-04-03 11:32:05 +05:30
Arijit Basu
71a23e1f64
Implement native search and filter 2021-04-03 06:49:59 +05:30
Arijit Basu
7cbb9d2baf
Saner key bindings 2021-04-02 19:56:18 +05:30
Arijit Basu
c0ca596539
Fix create mode, refactor readers, fix init focus 2021-04-02 18:03:56 +05:30
Arijit Basu
c2bc8aee20
Fix benchmarks 2021-04-02 17:20:19 +05:30
Arijit Basu
3990200232
Anyhow handle errors 2021-04-02 17:11:18 +05:30
Arijit Basu
56d63a2316
Move, Copy, Create, Delete 2021-04-02 16:12:10 +05:30
Arijit Basu
eb6bc6b6be
Minor buggy improvements 2021-04-02 09:28:20 +05:30
Arijit Basu
107211a69c
Add ctrl-c handler 2021-04-02 07:53:13 +05:30
Arijit Basu
f43ba87a2b
Finish Selected -> Selection renaming 2021-04-02 07:45:00 +05:30
Arijit Basu
8a6da63936
Rename selected -> selection 2021-04-02 07:40:51 +05:30
Arijit Basu
b70682ecb5
Fix term resize handler 2021-04-02 05:59:56 +05:30
Arijit Basu
54b6a8e4da
Minor fix 2021-04-01 22:39:29 +05:30
Arijit Basu
2c56b80fde
Minor fixes 2021-04-01 22:34:12 +05:30
Arijit Basu
f176655325
Some improvements and cleanup 2021-04-01 19:34:45 +05:30
Arijit Basu
341d11a0f3
Fix pipes config 2021-04-01 16:24:03 +05:30
Arijit Basu
c066201777
Read config from file 2021-04-01 15:28:32 +05:30
Arijit Basu
3572d26b95
Too big of a rewrite 2021-04-01 15:17:24 +05:30
Arijit Basu
98920637f9
Number input 2021-03-15 14:49:30 +05:30
Arijit Basu
53b18ae8f4
Use # instead of ? to debug app 2021-03-14 10:54:58 +05:30
Arijit Basu
d5bfe6630f
Use app.task instead of separate variables 2021-03-13 15:31:25 +05:30
Arijit Basu
21e4a178c7
Fix escaping relative path
Either escape or quote. Don't do both at once.
2021-03-09 14:43:43 +05:30
Arijit Basu
d3f88a1fa5
Display mode in help menu title 2021-03-06 10:11:59 +05:30
Arijit Basu
6e74a0fe25
Some docs about use cases and goals 2021-03-05 19:31:31 +05:30