Skip to content

Commit f75ba16

Browse files
author
Bruno Sutic
committed
Merge pull request #61 from brandondrew/patch-1
make script executable only for the owner
2 parents 1c027df + abffb25 commit f75ba16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/how_to_create_plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ directory. That's how plugins are run.
2727
Create a plugin run file in plugin directory:
2828

2929
$ touch my_plugin.tmux
30-
$ chmod +x my_plugin.tmux
30+
$ chmod u+x my_plugin.tmux
3131

3232
You can have more than one `*.tmux` file, and all will get executed. However, usually
3333
you'll need just one.
@@ -69,7 +69,7 @@ Now that we have the binding, let's create a script that's invoked with
6969

7070
$ mkdir scripts
7171
$ touch scripts/tmux_list_plugins.sh
72-
$ chmod +x scripts/tmux_list_plugins.sh
72+
$ chmod u+x scripts/tmux_list_plugins.sh
7373

7474
And here's the script content:
7575

0 commit comments

Comments
 (0)