Content-Length: 251317 | pFad | http://github.com/js-d-coder/todo.sh/issues/1

80 /usr/local/bin · Issue #1 · js-d-coder/todo.sh · GitHub
Skip to content
This repository was archived by the owner on Jan 23, 2019. It is now read-only.
This repository was archived by the owner on Jan 23, 2019. It is now read-only.

/usr/local/bin #1

@JaxxArmstrong

Description

@JaxxArmstrong

No need to copy the script anywhere. Especially if you have git clone'd the repo. Just do a symbolic link to the script in question to /usr/local/bin. That way you can just do a git pull to update and no extra step to re-copy the script again.

You can also create a tiny install-script that does the symbolic link for you.

#!/bin/bash
scriptDir=$(dirname $(readlink -f $0))
sudo ln -s $scriptDir/todo.sh /usr/local/bin/

Just my two cents.

Ps. From my own perspective I wouldn't mind if you didn't call the dir 'todo.sh', ie removed the .sh at the end. This is just a personal reflection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/js-d-coder/todo.sh/issues/1

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy