Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
46062e25
Commit
46062e25
authored
Nov 07, 2017
by
Markus Færevaag
Committed by
Robby Russell
Nov 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[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
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
_wd.sh
plugins/wd/_wd.sh
+3
-3
wd.sh
plugins/wd/wd.sh
+1
-1
No files found.
plugins/wd/_wd.sh
View file @
46062e25
...
@@ -21,12 +21,12 @@ function _wd() {
...
@@ -21,12 +21,12 @@ function _wd() {
do
do
arr
=(
${
(s,
:,
)line
}
)
arr
=(
${
(s,
:,
)line
}
)
name
=
${
arr
[1]
}
name
=
${
arr
[1]
}
path
=
${
arr
[2]
}
target_
path
=
${
arr
[2]
}
# replace ~ from path to fix completion (#17)
# replace ~ from path to fix completion (#17)
path
=
${
path
/#\~/
$HOME
}
target_
path
=
${
path
/#\~/
$HOME
}
points[
$name
]=
$path
points[
$name
]=
$
target_
path
done
<
$CONFIG
done
<
$CONFIG
commands
=(
commands
=(
...
...
plugins/wd/wd.sh
View file @
46062e25
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
# @github.com/mfaerevaag/wd
# @github.com/mfaerevaag/wd
# version
# version
readonly
WD_VERSION
=
0.4.
4
readonly
WD_VERSION
=
0.4.
6
# colors
# colors
readonly
WD_BLUE
=
"
\0
33[96m"
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