jesseduffield / jesseduffield/lazycli

Surround arguments with ' in config file

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
434
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi,

Just installed `lazycli` on Ubuntu 18.04 and tried it with `ls -l`. Operations for files that contain spaces does not work with the default config file as the argument is not surrounded by '. When I add that for example `rm` works. Example:
```
- name: ls -l
registered_commands:
- ls -l
key_bindings:
- key: d
command: rm -rf '$8'
confirm: true
- key: o
command: xdg-open '$8'
- key: u
command: cd '$8'
lines_to_skip: 1
```

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.