Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give each tool a dir #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ macOS 10.15 Catalina and newer now use `zsh` as the default shell. If you're usi
zinit wait'1' lucid light-mode as"program" pick"src/trash" for morgant/tools-osx
```

* Using [Antidote](https://github.com/mattmc3/antidote): Add the following to your `~/.zsh_plugins.txt` file for each tool you wish to install, `trash`, for example (depending on how you setup Antidote, you may need to run another command to re-bundle your plugins, see [Antidote docs](https://getantidote.github.io/usage#loading-plugins) for details):

```shell
morgant/tools-osx kind:path path:src/trash
```

OTHER TOOLS
-----------

Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ task :default do
EOF
else
mkdir './.tmp/'
cp './src/dict', './.tmp/dict.rb'
cp './src/dict/dict', './.tmp/dict.rb'
sh "#{mrc} -o ./bin/dict ./.tmp/dict.rb"
rm_rf './.tmp/'
end
end

scrs = Dir.nonhidden_entries('./src/'); scrs.delete 'dict'
scrs.each {|f| cp "./src/#{f}", "./bin/#{f}" unless File.exist? "./bin/#{f}"}
scrs.each {|f| cp "./src/#{f}/#{f}", "./bin/#{f}" unless File.exist? "./bin/#{f}"}
end

task :install => [:default] do |t, args|
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.