mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 03:23:05 +00:00
parent
241b786469
commit
bedbafc6ff
2 changed files with 2 additions and 2 deletions
2
navi
2
navi
|
@ -4,7 +4,7 @@ set -euo pipefail
|
||||||
export NAVI_HOME="$(cd "$(dirname "$0")" && pwd)"
|
export NAVI_HOME="$(cd "$(dirname "$0")" && pwd)"
|
||||||
source "${NAVI_HOME}/src/main.sh"
|
source "${NAVI_HOME}/src/main.sh"
|
||||||
|
|
||||||
VERSION="0.15.2"
|
VERSION="0.15.3"
|
||||||
NAVI_ENV="${NAVI_ENV:-prod}"
|
NAVI_ENV="${NAVI_ENV:-prod}"
|
||||||
|
|
||||||
opts::eval "$@"
|
opts::eval "$@"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
cheat::find() {
|
cheat::find() {
|
||||||
for path in $(echo "$NAVI_PATH" | tr ':' '\n'); do
|
for path in $(echo "$NAVI_PATH" | tr ':' '\n'); do
|
||||||
find -L "$path" -iname '*.cheat'
|
find -L "${path/#\~/$HOME}" -iname '*.cheat'
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue