Commit Graph

14 Commits

Author SHA1 Message Date
Derek Stavis
8c394771df install: migrate script from bash to fish
- Checks for a supported fish version (greater than 2.1)
- Migrate travis install script to fish
2015-10-02 20:16:04 -03:00
Derek Stavis
c58d14fe3e Move $OMF_CONFIG variable to $OMF_PATH/init.fish
This PR sets the default value of `OMF_CONFIG` variable in
framework init.fish file. The variable can still be overridden by
the user by setting it on `~/.config/fish/config.fish file`.

This is in preparation to rewriting install script in plain fish,
which will ditch config template and stop replacing `config.fish`
contents in favor of just appending Oh My Fish startup.
2015-09-29 09:54:36 -03:00
jeremiejig
56b1d837e0 changing to git -C to git --git-dir work-tree 2015-09-27 18:53:51 +02:00
jeremiejig
9258757901 install script using git -C $OMF_PATH 2015-09-27 14:59:30 +02:00
Bruno Pinto
ae0e4388b6 Back to oh-my-fish organization 2015-09-03 19:35:19 +01:00
Bruno Pinto
7dad917436 Make default theme the default theme for omf.
* On clean install, configure and download `default` theme.
* Do not allow `default` theme to be removed.
* When the current theme is removed, fallback to `default`.
2015-09-01 12:38:32 +01:00
Derek Stavis
102771b73c install: resolve bundle if existent, otherwise create file 2015-08-31 20:39:54 -03:00
Bruno Pinto
f89bc18846 Do not convert $HOME when installing omf.
Keep `$HOME` variable inside `config.fish` when installing oh my fish
instead of converting it to its content.
2015-08-31 00:46:59 +01:00
Bruno Pinto
7c5e2b3964 Extracting template to a file and improving it
It's hard to read the template as it was being created using `echo`
instead of being defined on a separate file. Also adding some comments
to improve the configuration file readability.
2015-08-28 12:53:37 +01:00
Harrison Heck
e7abc74939 Change github url to current url. 2015-08-28 18:28:47 +09:00
Justin Hileman
0359ba047c Merge $OMF_CONFIG and $OMF_CUSTOM.
Per conversation with @bpinto in Gitter.

There's no need for two separate directories. You don't have a `.git` and `.git-custom` folder, you just put your config in `.git` :)

The most straightforward interpretation of XDG basedir spec is that user configuration for omf would go in `~/.config/omf`, so let's put it there. The only question is whether omf-generated config (i.e. the `theme` file) should go there as well. By analogy with git, programmatically generated config should probably be merged in with user config. This also makes it so when a user clones their dotfiles to a new machine, both kinds of settings come with it.
2015-08-27 11:02:30 -07:00
Jorge Bucaran
7a7b0ff393 create empty theme config file during install 2015-08-27 06:15:17 +09:00
Jorge Bucaran
c855e0024c fix omf new theme and remove default theme 2015-08-27 06:04:24 +09:00
Jorge Bucaran
2693a2fd18 %%% United States of the Fish → Wahoo + OMF %%% 2015-08-27 00:20:13 +09:00