Arijit Basu
91a319fc80
Update version
4 years ago
Arijit Basu
57494f8ebf
Do not print command outputs to the main screen.
...
Print all the outputs of xplr commands on the alternate screen. Not on
the real stdout.
4 years ago
Arijit Basu
7661019fd9
Make dir colors cyan
...
Fixes: https://github.com/sayanarijit/xplr/issues/11
4 years ago
Arijit Basu
23b51cf8fe
Fix failed build and re-publish
4 years ago
Arijit Basu
2bd2b743fb
Fix renaming
4 years ago
Arijit Basu
a484c2fd39
Update default.nix
4 years ago
Arijit Basu
e34755b11b
Update version
...
Also fix nix hash
4 years ago
Arijit Basu
09abda29a3
Several optimizations
...
- Write to pipes only when the value changes.
- Sleep when not reading key event or messages.
Fixes: https://github.com/sayanarijit/xplr/issues/10
4 years ago
Arijit Basu
65ddb0ee4b
Release 0.3.2
4 years ago
Arijit Basu
53fd92b680
Fix debug formatting
4 years ago
Arijit Basu
65b7412579
Add XPLR_APP_VERSION and XPLR_CONFIG_VERSION
...
Since users don't need to update config file version for minor app
releases, we have to differentiate between app and config version.
Also, expose them via `$XPLR_CONFIG_VERSION` and `$XPLR_APP_VERSION`.
4 years ago
Arijit Basu
0272284f40
Fix print formatting
4 years ago
Quentin Guilloteau
a9309a52c0
add comment to remind to update the version in the default.nix file
4 years ago
Arijit Basu
175699ac63
Expose `$XPLR_PIPE_MODE_OUT`
...
Also, add new line character to `$XPLR_PIPE_MODE_OUT` and
`$XPLR_FOCUS_PATH` for consistency.
4 years ago
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.
4 years ago
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.
4 years ago
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.
4 years ago
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`]
4 years ago
Arijit Basu
dba8631911
Add CI/CD gh actions
...
Mostly stolen from https://github.com/Rigellute/spotify-tui .
4 years ago
Arijit Basu
8dae2fef4d
Add native support for renaming
4 years ago
Arijit Basu
2f409a2117
Add support for `:{number}` like vim
4 years ago
Arijit Basu
2432673483
Log error if command fails
4 years ago
Arijit Basu
b03618737c
Remove skim from dependency
4 years ago
Arijit Basu
4d2caf512e
Log explorer errors
4 years ago
Arijit Basu
e93e815bc4
Add upgrade instructions for incompatibility error
4 years ago
Arijit Basu
a11dca5a1c
Finish documenting the messages
4 years ago
Arijit Basu
b98812fe06
Fix "Input" case
4 years ago
Arijit Basu
500f15bd32
Make UI lowercase
4 years ago
Arijit Basu
1b1cd393bc
Document a little
4 years ago
Arijit Basu
af8a637030
Logging, testing and other improvements
4 years ago
Arijit Basu
71a23e1f64
Implement native search and filter
4 years ago
Arijit Basu
7cbb9d2baf
Saner key bindings
4 years ago
Arijit Basu
c0ca596539
Fix create mode, refactor readers, fix init focus
4 years ago
Arijit Basu
3990200232
Anyhow handle errors
4 years ago
Arijit Basu
56d63a2316
Move, Copy, Create, Delete
4 years ago
Arijit Basu
eb6bc6b6be
Minor buggy improvements
4 years ago
Arijit Basu
107211a69c
Add ctrl-c handler
4 years ago
Arijit Basu
f43ba87a2b
Finish Selected -> Selection renaming
4 years ago
Arijit Basu
8a6da63936
Rename selected -> selection
4 years ago
Arijit Basu
b70682ecb5
Fix term resize handler
4 years ago
Arijit Basu
54b6a8e4da
Minor fix
4 years ago
Arijit Basu
2c56b80fde
Minor fixes
4 years ago
Arijit Basu
f176655325
Some improvements and cleanup
4 years ago
Arijit Basu
341d11a0f3
Fix pipes config
4 years ago
Arijit Basu
c066201777
Read config from file
4 years ago
Arijit Basu
3572d26b95
Too big of a rewrite
4 years ago
Arijit Basu
98920637f9
Number input
4 years ago
Arijit Basu
53b18ae8f4
Use # instead of ? to debug app
4 years ago
Arijit Basu
d5bfe6630f
Use app.task instead of separate variables
4 years ago
Arijit Basu
21e4a178c7
Fix escaping relative path
...
Either escape or quote. Don't do both at once.
4 years ago
Arijit Basu
d3f88a1fa5
Display mode in help menu title
4 years ago
Arijit Basu
096489dee4
Use "esc" instead of "escape"
4 years ago
Arijit Basu
669151c70e
Show help menu
4 years ago
Arijit Basu
7beaec1763
Easier key handling
4 years ago
Arijit Basu
8221140756
Refresh after running command
4 years ago
Arijit Basu
044b7860a1
Fixed fzf search added pwd shell option
...
Now I can finally use it to replace nnn
4 years ago
Arijit Basu
980fb8728a
Editor fix
4 years ago
Arijit Basu
03fffd19e2
Minor fixes
4 years ago
Arijit Basu
df8c03ce2d
Add shell words escaper
4 years ago
Arijit Basu
2e551ce38d
Support for command action
4 years ago
Arijit Basu
758f362fee
Lazy programmer hack for key bindings
4 years ago
Arijit Basu
720ba38b4d
Some important fix (don't look)
4 years ago
Arijit Basu
41713f9aff
Basically working now.
4 years ago
Arijit Basu
f9c3edee06
Not yet doing what it's supposed to
4 years ago