1
0
Fork 0
mirror of synced 2024-12-13 19:05:45 -05:00

Merge pull request #61 from brandondrew/patch-1

make script executable only for the owner
This commit is contained in:
Bruno Sutic 2015-11-15 14:56:26 +01:00
commit f75ba16d5f

View file

@ -27,7 +27,7 @@ directory. That's how plugins are run.
Create a plugin run file in plugin directory: Create a plugin run file in plugin directory:
$ touch my_plugin.tmux $ touch my_plugin.tmux
$ chmod +x my_plugin.tmux $ chmod u+x my_plugin.tmux
You can have more than one `*.tmux` file, and all will get executed. However, usually You can have more than one `*.tmux` file, and all will get executed. However, usually
you'll need just one. you'll need just one.
@ -69,7 +69,7 @@ Now that we have the binding, let's create a script that's invoked with
$ mkdir scripts $ mkdir scripts
$ touch scripts/tmux_list_plugins.sh $ touch scripts/tmux_list_plugins.sh
$ chmod +x scripts/tmux_list_plugins.sh $ chmod u+x scripts/tmux_list_plugins.sh
And here's the script content: And here's the script content: