Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions man/wire.1
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ is a screen-oriented Wired client. It is used to connect to Wired servers.
At startup,
.Nm wire
will read
.Pa ~/.wire/config
.Pa ~/.wire2/config
and interpret and execute each line as a command. Similarly, if a named bookmark is given as an argument to
.Nm wire ,
.Pa ~/.wire/bookmark
.Pa ~/.wire2/bookmark
will also be read and interpreted. Note that commands in bookmarks should not be prepended by a
.Sq /
character.
Expand Down Expand Up @@ -127,7 +127,7 @@ Loads a custom icon from an image file. It is recommended that the image is in P
.Nm wire ,
but only in other graphical clients.
.Pp
Example: /icon ~/.wire/icon.png
Example: /icon ~/.wire2/icon.png
.Pp
.It Nm ignore Op Ar nick
Manage user ignores. Without arguments, shows the current list of ignores, identified by id. With an argument, adds a user to the list. No chat or messages are printed from users whose nicks match an entry in the ignore list.
Expand All @@ -153,7 +153,7 @@ See also:
.Nm ban
.It Nm load Ar bookmark
Loads a bookmark with the name provided from
.Pa ~/.wire/ .
.Pa ~/.wire2/ .
.Pp
Example: /load myserver
.It Nm log Ar filename
Expand Down Expand Up @@ -243,7 +243,7 @@ Deletes the path.
Example: /rm /Uploads
.It Nm save Ar bookmark
Saves the current settings and connection as a bookmark in
.Pa ~/.wire/ .
.Pa ~/.wire2/ .
.Pp
Example: /save myserver
.It Nm search Ar query
Expand Down Expand Up @@ -312,9 +312,9 @@ Example: /who
.El
.Sh FILES
.Bl -tag -width
.It Pa ~/.wire/config
.It Pa ~/.wire2/config
Default configuration file. Read at startup. Consists of a newline separated list of commands.
.It Pa ~/.wire/bookmark
.It Pa ~/.wire2/bookmark
A named bookmark. Read at startup if
.Ar bookmark
is specified. Read at runtime using the
Expand Down
4 changes: 2 additions & 2 deletions wire/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static wr_commands_t wr_commands[] = {
false, 1, -1, WR_COMPLETER_COMMAND,
wr_command_open },
{ "load",
true, "Load the bookmark from the ~/.wire/ directory", "<bookmark>",
true, "Load the bookmark from the ~/.wire2/ directory", "<bookmark>",
false, 1, -1, WR_COMPLETER_BOOKMARK,
wr_command_load },
{ "log",
Expand Down Expand Up @@ -201,7 +201,7 @@ static wr_commands_t wr_commands[] = {
false, 0, -1, WR_COMPLETER_COMMAND,
wr_command_quit },
{ "save",
true, "Save a bookmark to the ~/.wire/ directory", "<bookmark>",
true, "Save a bookmark to the ~/.wire2/ directory", "<bookmark>",
false, 1, -1, WR_COMPLETER_BOOKMARK,
wr_command_save },
{ "say",
Expand Down
2 changes: 1 addition & 1 deletion wire/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Options:\n\
-h display this message\n\
-v display version information\n\
\n\
If specified, ~/.wire/<bookmark> is loaded on startup.\n\
If specified, ~/.wire2<bookmark> is loaded on startup.\n\
\n\
By Axel Andersson <%s>\n", WR_BUGREPORT);

Expand Down
4 changes: 2 additions & 2 deletions wire/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

#include <signal.h>

#define WR_WIRE_PATH ".wire"
#define WR_WIRE_CONFIG_PATH ".wire/config"
#define WR_WIRE_PATH ".wire2"
#define WR_WIRE_CONFIG_PATH ".wire2/config"

enum _wr_completer {
WR_COMPLETER_NONE = 0,
Expand Down