You may also use Sparrow to distribute your profiles. For example:
$ nano nickstuff # the source code as you had in the post
$ nano story.bash #!/bin/bash cp $story_dir/nickstuff ~/.nickstuff if ! grep -q 'source ~/.nickstuff' ~/.bashrc; then echo 'source ~/.nickstuff' >> ~/.bashrc fi
$ nano sparrow.json { "name" : "nick-bash-stuff", "version" : "0.0.1" }
$ sparrow plg upload
And then on remote machine just:
$ sparrow plg install nick-bash-stuff $ sparrow plg run nick-bash-stuff
Regards
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You may also use Sparrow to distribute your profiles. For example:
And then on remote machine just:
Regards