Commit Graph

18 Commits (v2)

Author SHA1 Message Date
Johnny Robeson e5997f211e Add https:// to curl calls in README and install script 9 years ago
Derek Stavis 433832bb82 install: Remove existing fish_prompt into a backup
First works toward generalizing file backup code, applying to both
config.fish file and now fish_prompt.fish too. This avoids clean
installs which start with theme issues.
9 years ago
Derek Stavis 7feb557569 Remove reload notice from installer script
Also fix a whitespace issue.
9 years ago
Derek Stavis 792e3b7b72 install: Replace source by fish invocation 9 years ago
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
9 years ago
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.
9 years ago
jeremiejig 56b1d837e0 changing to git -C to git --git-dir work-tree 9 years ago
jeremiejig 9258757901 install script using git -C $OMF_PATH 9 years ago
Bruno Pinto ae0e4388b6 Back to oh-my-fish organization 9 years ago
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`.
9 years ago
Derek Stavis 102771b73c install: resolve bundle if existent, otherwise create file 9 years ago
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.
9 years ago
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.
9 years ago
Harrison Heck e7abc74939 Change github url to current url. 9 years ago
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.
9 years ago
Jorge Bucaran 7a7b0ff393 create empty theme config file during install 9 years ago
Jorge Bucaran c855e0024c fix omf new theme and remove default theme 9 years ago
Jorge Bucaran 2693a2fd18 %%% United States of the Fish → Wahoo + OMF %%% 9 years ago