my-config
my-config copied to clipboard
Add ability to quickly configure my-config on new OS
If I ssh into a fresh Linux OS, I would like to be able to run one short command which will set up my config or a similar environment.
Something like:
bash <(curl -s https://samhstn.com/setup)
This script should:
- install
zsh
- ensure
vim
was installed (otherwiseapt-get install vim
) - add a
.vimrc
- add and configure
sams-config
plugin - add
sams-theme
theme
Do you want the config to both linux and mac, or just mac? @samhstn
To work for both OSX and linux would be cool!
But I don't know how often I would run it on mac - probably not very often.
I could see myself wanting to run a simple setup script on linux much more often though.
I asked because you changed the title from linux to new OS.
@samhstn So, you want a script that sets the environment up on linux systems?
I think I might be able to help with the linux part.
From what I've noticed you seem to have a particular view of how you envision the scrip to run. Perhaps it would be more beneficial if you could guide me through your view of the process. I've been working on scripts that do this sort of thing, but it seems that you have a different angle and approach in mind.
I would like to be able to run the script in the following environments:
- https://hub.docker.com/_/debian (using
apt
for installing packages) - https://hub.docker.com/_/centos (using
yum
for installing packages)
The script should:
- install vim, curl, and others (tbd).
- install ohmyzsh.
- set up this
m
tool. - Configure this basic
.zshrc
as described here: https://github.com/samhstn/my-config#zsh. - Add this basic
.vimrc
.
@syspentarc thanks for nudging me on this. I'm keen to close off this issue, but there are a couple of outstanding things to do first:
- https://github.com/samhstn/samhstn/pull/108 (I've been working on this locally, need to push up my work).
- https://github.com/samhstn/m/issues/23
@samhstn I wouldn't mind getting assigned to this task. It would take me a while, but I'd love to help.