-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4147d9b
commit 231f977
Showing
8 changed files
with
122 additions
and
43 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "navi" | ||
version = "2.7.0" | ||
version = "2.7.1" | ||
authors = ["Denis Isidoro <[email protected]>"] | ||
edition = "2018" | ||
description = "An interactive cheatsheet tool for the command-line" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
#!/bin/bash | ||
|
||
source "${HOME}/.bashrc" | ||
export PATH="/usr/local/bin:$PATH" | ||
|
||
_hack() { | ||
sed $'s,\x1b\\[[0-9;]*[a-zA-Z],,g' | ||
} | ||
|
||
if [ -n "${snippet:-}" ]; then | ||
navi alfred suggestions | ||
navi alfred suggestions | _hack | ||
else | ||
navi alfred start | ||
navi alfred start | _hack | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
#!/bin/bash | ||
|
||
source "${HOME}/.bashrc" | ||
export PATH="/usr/local/bin:$PATH" | ||
|
||
if [ -n "${varname:-}" ]; then | ||
source "${HOME}/.bashrc" | ||
echo -n "$(navi alfred transform)" | ||
echo -n "$(navi alfred transform)" | tr -d '\n' | ||
else | ||
echo -n "$snippet" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters