We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce72a28 commit db4575cCopy full SHA for db4575c
2 files changed
shell/rd_init.sh
@@ -1,5 +1,5 @@
1
# root directory
2
-export RD_ROOT_DIR=/opt/jupengfei/.cmd_gui
+export RD_ROOT_DIR=/opt2/jupengfei/.rmd
3
export HOST_OS=linux
4
5
# lua environment
@@ -17,7 +17,7 @@ source $RD_ROOT_DIR/shell/alias.sh
17
export RD_SERVER_IP=
18
export RD_SERVER_PORT=30130
19
20
-export RD_CLIENT_IP=192.168.14.171
+export RD_CLIENT_IP=172.25.105.14
21
export RD_CLIENT_PORT=30130
22
23
# server address
src/rd.lua
@@ -36,6 +36,11 @@ local custom_remote_command = {
36
local cur_path = get_cur_path()
37
local file = nil
38
39
+ -- open current directory by default
40
+ if (#tb <= 0) then
41
+ table.insert(tb, ".")
42
+ end
43
+
44
if (#tb > 0) then
45
file = table.concat(tb, " ")
46
end
0 commit comments