Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
46062e25
Commit
46062e25
authored
Nov 08, 2017
by
Markus Færevaag
Committed by
Robby Russell
Nov 07, 2017
Browse files
[wd] Update wd plugin to latest (#6383)
* Update wd plugin to v0.4.5 * [wd] Update wd plugin to v0.4.6
parent
9edb3fce
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/wd/_wd.sh
View file @
46062e25
...
...
@@ -21,12 +21,12 @@ function _wd() {
do
arr
=(
${
(s,
:,
)line
}
)
name
=
${
arr
[1]
}
path
=
${
arr
[2]
}
target_
path
=
${
arr
[2]
}
# replace ~ from path to fix completion (#17)
path
=
${
path
/#\~/
$HOME
}
target_
path
=
${
path
/#\~/
$HOME
}
points[
$name
]=
$path
points[
$name
]=
$
target_
path
done
<
$CONFIG
commands
=(
...
...
plugins/wd/wd.sh
View file @
46062e25
...
...
@@ -8,7 +8,7 @@
# @github.com/mfaerevaag/wd
# version
readonly
WD_VERSION
=
0.4.
4
readonly
WD_VERSION
=
0.4.
6
# colors
readonly
WD_BLUE
=
"
\0
33[96m"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment