-
Notifications
You must be signed in to change notification settings - Fork 45
/
wd.1
84 lines (84 loc) · 2.18 KB
/
wd.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.TH wd "1" "2024-11-17" "wd 0.9.2" "wd Manual"
.
.SH NAME
wd \- Quickly warp to custom directories in zsh
.
.
.SH SYNOPSIS
.B
wd [\fICOMMAND\fP] [\fINAME\fP]
.
.
.SH DESCRIPTION
\fBwd\fP (warp directory) lets you quickly jump to custom directories in zsh, without using \fBcd\fP. Why? Because \fBcd\fP is slow for paths that are visited frequently or has a long path.
.
.
.SH COMMANDS
.IP "add, -a, --add"
Add a new warp point which will warp to the current working directory with current directory name as identifier.
.
.IP "add, -a, --add <name>"
Add a new warp point which will warp to the current working directory with \fIname\fR as identifier.
.
.IP "addcd, -c, --addcd <path>"
Add a new warp point which will warp to the current working directory with current directory name as identifier.
.
.IP "addcd, -c, --addcd <path> <point>"
Add a new warp point which will warp to the current working directory with \fIname\fR as identifier.
.
.IP "rm, -r, --remove"
Remove any warp point with current directory name as identifier.
.
.IP "rm, -r, --remove <name>"
Remove any warp point with \fIname\fP as identifier.
.
.IP "ls, -l"
List all registered warp points.
.
.IP "show"
Show which warp points are registered to the current working directory.
.
.IP "show <name>"
Show path to given warp point.
.
.IP "clean"
Remove warp points to non-existent directories.
.
.IP "help"
Show help message with usage and commands.
.
.IP "-v, --version"
Print the running version.
.
.IP "-c, --config"
Specifically set the config file (default `~/.warprc`), which is useful when testing.
.
.IP "-q, --quiet"
Silence all output.
.
.IP "-f, --force"
Allows overwriting without warning. Can be applied to `add` and `clean`
.
.SH EXAMPLES
.
.IP "\fBwd add --force foo\fP"
Add warp point named "foo" to current working directory, overwriting any existing points named "foo".
.
.IP "\fBwd rm foo\fP"
Remove any warp point named \fIfoo\fP.
.
.
.SH BUGS
Issue tracking on GitHub:
.nf
https://github.com/mfaerevaag/wd/issues
.
.
.SH AUTHORS
Created and maintained by Markus Færevaag and Simon Altschuler, with the help of various contributors:
.nf
https://github.com/mfaerevaag/wd/graphs/contributors.
.
.
.SH LICENSE
wd is licensed under the MIT license.