Commit graph

219 commits

Author SHA1 Message Date
Denis Isidoro
69e74204b2
Minor changes (#122) 2019-10-11 14:33:16 -03:00
Jose Miguel Bataller
cf9bff10a3 gpg cheat 2019-10-11 09:02:39 +01:00
Denis Isidoro
40ed4e60ba Fix command_exists for empty string 2019-10-05 14:17:41 -03:00
Denis Isidoro
6129d9e954
Refactor string escaping code (#114)
Fix #111
2019-10-05 14:08:00 -03:00
Denis Isidoro
13ddc7c226
Merge pull request #113 from emersonmx/fix-args
Fix read only error
2019-10-04 21:53:57 -03:00
Emerson MX
f2d2c6cc57 Fix read only error 2019-10-04 20:16:14 -03:00
Denis Isidoro
b7c5fb8fea
Add possibility to pass argument values (#110)
If `navi best github` prompts for `user`, then `navi best github foo` will consider `foo` as `user`.
2019-10-04 18:13:11 -03:00
Denis Isidoro
0941166c9c Fix regex checks 2019-10-03 14:39:23 -03:00
Priya Pandya
7c767810e4 [src]: Add condition to check regex for arg/escaped_arg (#109)
Fixes #20
2019-10-03 14:34:05 -03:00
Denis Isidoro
78638c67e4
Add fallback to tac (#108)
Fix #107
2019-10-03 12:56:36 -03:00
Denis Isidoro
4792621b8c
Change quotes 2019-10-03 08:47:48 -03:00
Denis Isidoro
ae8de44df7
Install instruction updates (#106)
Fixes #51
2019-10-02 16:07:37 -03:00
Denis Isidoro
5eb5f64c5e Change demo gif 2019-10-02 14:47:46 -03:00
Denis Isidoro
8e606a50ba
Limit cheat for selection (#102)
Say we have a cheat with a free input for `<foo>` and there's another cheat with suggestions for `<foo>`. If you select a command from the first cheat, the suggestions in the second cheat would be used, before this PR.
2019-10-02 12:14:07 -03:00
Denis Isidoro
56da729965
Minor README update (#103) 2019-10-02 12:13:42 -03:00
Denis Isidoro
4627b5db0b
Add widget for bash (#105)
Partially solves #37
2019-10-02 12:12:20 -03:00
Denis Isidoro
d9a7486eb6
Merge pull request #101 from alxbl/omzsh-plugin
Thanks for making this project, it's really cool! I'd been looking for something like this for a while.
I noticed that your shell widget is pretty much stand-alone and I wanted to be able to use navi directly as an [oh-my-zsh][1] plugin, so I added a few things to the widget and moved it to the root of the repository so that the repo can be cloned straight into the `plugins` folder and detected when added in the plugin array.

I think it should be similarly simple with `fish`, but I'm not too familiar with that shell, so I'll leave it to someone else. The `navi.plugin.zsh` file should still be sourcable as a widget for people not using oh-my-zsh, so technically the `shell/` directory could be removed and `navi widget`updated to use the new file.

## What's included
- oh-my-zsh plugin
- install documentation
- no PATH modification required when used with OMZ
- Added bonus: #51 is kind of unofficially addressed by this (assuming one uses OMZ)

## Future Work
- Pre-filter using `$BUFFER` when hitting `Alt+G` to get something similar to `navi query`
- Update `navi widget zsh` to use `navi.plugin.zsh`

Let me know what you think. I'm working on a few cheatsheets, and will open PRs for those as they become ready.

Cheers,
Alex

[1]: https://github.com/robbyrussell/oh-my-zsh
2019-10-02 10:13:48 -03:00
Alexandre Beaulieu
022aee2b13
fix: oh-my-zsh update no longer invokes make install. 2019-10-01 18:23:51 -04:00
Alexandre Beaulieu
f6f643cec2
fix: renamed DST to plugins_dir. 2019-10-01 17:46:56 -04:00
Alexandre Beaulieu
286cb9f97f
doc: code review changes. 2019-10-01 17:41:34 -04:00
Alexandre Beaulieu
507bd277a9
doc: Added oh-my-zsh installation instructions. 2019-09-30 14:18:52 -04:00
Alexandre Beaulieu
32b1b42f2c
feat: Add oh-my-zsh plugin compatibility. 2019-09-30 14:09:35 -04:00
Denis Isidoro
0c960fca54
Interpolation: only quote multi-word values (#100)
- Fixes #99 
- adds `platform::existing_command`
2019-09-30 11:27:03 -03:00
Denis Isidoro
97329b97f6
Show comment for command in preview window (#98) 2019-09-28 23:58:00 -03:00
Denis Isidoro
a485030355
Merge pull request #95 from engrravijain/master
#60 names can include dashes or spaces
2019-09-28 23:26:57 -03:00
Denis Isidoro
68ba9ed3df
Merge branch 'master' into master 2019-09-28 23:26:27 -03:00
Denis Isidoro
d04dfc1003
Allow variable names to include dashes and spaces (#97)
Based on https://github.com/denisidoro/navi/pull/95 by @engrravijain 

Fixes #60
2019-09-28 23:24:12 -03:00
Denis Isidoro
2aa07c2ce1
Minor fixes (#96)
- fix widget
- cleanup
- fix dict lib
2019-09-28 23:12:47 -03:00
Ravi Jain
895a70601b #60 fix space/dash regex 2019-09-28 19:33:38 +05:30
Ravi Jain
913d303cb4 #60 names can include dashes or spaces 2019-09-28 11:18:23 +05:30
Denis Isidoro
d55b5725d4
Correctly escape % in cheatsheets (#94) 2019-09-27 16:53:31 -03:00
Denis Isidoro
4bf6c981f4 Bump to 0.10.0 2019-09-27 15:12:55 -03:00
Denis Isidoro
0eeb3218b0 Fix typo 2019-09-27 15:12:55 -03:00
Denis Isidoro
260966ba6c Improve zsh widget (#92) 2019-09-27 15:12:55 -03:00
Denis Isidoro
b9084c0439 Add suppot for multiline snippets (#91)
Fix #88
2019-09-27 15:12:55 -03:00
Denis Isidoro
00a2d2b91e Escape subshells in cheatsheets (#90)
Fix #85
2019-09-27 15:12:55 -03:00
Denis Isidoro
303f9f67d1 Remove unnecessary echo 2019-09-27 15:12:55 -03:00
Denis Isidoro
473b409c93 Store cheatsheets in memory (#86)
Fixes #61 and kind of fixes #76 (actually it still depend on tags to find a snippet but that's not a problem anymore since everything is in memory now)
2019-09-27 15:12:55 -03:00
Denis Isidoro
b6a5ac1495 Improve test coverage (#84)
Add integration tests
2019-09-27 15:12:55 -03:00
Denis Isidoro
beab843c1e Add option for calling best match directly (#83)
Fix #62
2019-09-27 15:12:55 -03:00
Denis Isidoro
9dce96a871 Improve lib for collections (#82) 2019-09-27 15:12:55 -03:00
Denis Isidoro
1b12ffa330 Refactor option parsing (#79) 2019-09-27 15:12:55 -03:00
Denis Isidoro
093bac0e9f Add MVP for functional programming 2019-09-27 15:12:55 -03:00
Jérémy CHABERNAUD
e523febf0c Fix name var for creating 2019-09-27 15:12:55 -03:00
Jérémy CHABERNAUD
f997fb1125 Manage list name 2019-09-27 15:12:55 -03:00
Jérémy CHABERNAUD
b8bf507d72 Add k3d cheat 2019-09-27 15:12:55 -03:00
Denis Isidoro
28597037c6
Merge pull request #87 from engrravijain/master
The commands added are as under:-

1. cloning a git repository
2. view remote information
3. Renaming a remote
4. Remove a remote
5. Abort the git merge process
2019-09-27 14:32:33 -03:00
Ravi Jain
19f2308964 git commands 2019-09-27 09:45:32 +05:30
Denis Isidoro
bfcca8f3c8
Add warning about version on new issues (#81) 2019-09-26 10:53:51 -03:00
Denis Isidoro
44d15bb53c
Refer to FZF_DEFAULT_OPTS (#80) 2019-09-26 10:50:25 -03:00