lfilho / dotfiles

NeoVim + git + zsh + tmux bliss
BSD 2-Clause "Simplified" License
24 stars 6 forks source link

Linux Support Efforts #2

Closed lfilho closed 7 years ago

lfilho commented 10 years ago

Just a quick dump of some things I'm observing while trying to install it on Linux, in order to start supporting it:

1) Installing vim-gnome via apt-get will install vim with lua support (as of this writing, version 7.4.52). Will also install ruby as dependency for us (Ruby is required by YADR either way).

lfilho commented 10 years ago

Good reference: http://alex-frost.github.io/2014/03/08/yadr-terminator/

lfilho commented 10 years ago

Install dependency: rake. sudo apt-get install rake

lfilho commented 10 years ago

During installation, in the zsh configurations/enhancements step, got this:

Creating directories for your customizations
[Running]  mkdir -p $HOME/.zsh.before 
[Running]  mkdir -p $HOME/.zsh.after 
[Running]  mkdir -p $HOME/.zsh.prompts 
Setting zsh as your default shell
rake aborted!
No such file or directory - /private/etc/shells
/home/luizfilho/.yadr/Rakefile:260:in `readlines'
/home/luizfilho/.yadr/Rakefile:260:in `install_prezto'
/home/luizfilho/.yadr/Rakefile:41:in `block in <top (required)>'
/home/luizfilho/.yadr/Rakefile:28:in `block in <top (required)>'
Tasks: TOP => install
(See full trace by running task with --trace)

In Ubuntu, shells file seems to be located in under /etc/shells

lfilho commented 10 years ago

Update install.sh to call the right Rakefile: rake -f Rakefile-linux install

lfilho commented 10 years ago

brew package not present in apt-get: hub

lfilho commented 10 years ago

Update mvim alias and shortcuts to gvim

lfilho commented 10 years ago

Figure out Cmd shortcuts (like NerdTree <Cmd-N>)

lfilho commented 10 years ago

Ubuntu swap caps / esc: dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:swapescape']"

nikolai-b commented 9 years ago

Hi, I've moved that guide to http://nikolai-b.github.io/2014/03/08/yadr-terminator/ and also made a start on automating. I'd be happy to help if you have ideas.

edygar commented 8 years ago

Related to this issue, isn't python a better option for managing and installing dependencies rather ruby? Python has a broader availability among *nix systems.

lfilho commented 8 years ago

Ruby is the chosen one because of the original repo focus on OSX first. And ruby comes builtin with OSX out of the box, so that means one less dependency to install.

Additionally, ruby is pretty much available and easily installable everywhere, just like python too.

If this repo was primarily aimed at Linux systems, then I guess python would indeed make more sense.

edygar commented 8 years ago

I understand though my points are still valid… =P

“If a feature is sometimes dangerous, and there is a better option, then always use the better option.” ~ Douglas Crockford

I gonna try rewrite and PR to the original repo.

lfilho commented 8 years ago

And why is python "better" in this case?

edygar commented 8 years ago

I'm talking about availability, so a wider range of OSs comes with Python included, while ruby is available from factory only on OSX. So, why depend on something that maybe should be installed while we can use something almost sure to be there?

lfilho commented 8 years ago

As I said... It comes down to the original repo owner's OS. Which also happens to be mine. Also, his main developing language is Ruby, so it makes total sense for his case.

I can't test stuff on linux nor have the time to mess around with virtual machines and etc. But I do have OSX and ruby. So for me it sounds better just to test with ruby, and then, on a linux machine run a apt-get install ruby and you're done.

But, go for it! PRs are always welcome.

lfilho commented 7 years ago

I have just added Docker support (both here and on upstream). Feel free to check it out :-)

lfilho commented 7 years ago

I'm closing this issue as we have the Docker image now. All feature requests or bugs should come in their on issue or pull request now... Keep the contributions coming, please :-) 👍