Bruno Pinto
cf8a24deed
Only emit uninstall_* event on `omf destroy`
...
When calling `omf destroy`, the `bundle` file is completely erased
because we are calling `remove_package` on each installed package. We
don't want to erase that file, we just want to emit the event and later
on remove the code, which is done with `rm -rf "$OMF_PATH"`.
9 years ago
Bruno
2e5761ab38
Merge pull request #90 from oh-my-fish/commands-organization
...
Organize commands and remove undocumented aliases
9 years ago
Bruno Pinto
46e4d036ba
Organize commands and remove undocumented aliases
9 years ago
Bruno
4446cbc7ee
Merge pull request #93 from derekstavis/replace-source-by-fish
...
install: Replace source by fish invocation
9 years ago
Derek Stavis
792e3b7b72
install: Replace source by fish invocation
9 years ago
Bruno
4c05682af9
Merge pull request #92 from derekstavis/update-install-readme
...
Update installation script instructions
9 years ago
Derek Stavis
ddafb8c22f
Update installation script instructions
9 years ago
Bruno
db1b6887af
Merge pull request #82 from derekstavis/install-as-fish
...
Migrate install script from bash to fish
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
0b2a51a93f
Get PR URL and Branch using GitHub API
9 years ago
Bruno
e40f2d3ceb
Merge pull request #80 from oh-my-fish/dockerize
...
Dockerize
9 years ago
Bruno Pinto
dde679ff98
Get original repository branch name
...
Travis does not provide the original repository branch name on any
environment variable. We are getting the information from the GitHub
API instead.
The misleading environment variable `TRAVIS_BRANCH` returns `master`
instead:
> TRAVIS_BRANCH: For builds not triggered by a pull request this is the
name of the branch currently being built; whereas for builds triggered
by a pull request this is the name of the branch targeted by the pull
request (in many cases this will be master).
Reference: http://docs.travis-ci.com/user/environment-variables/
9 years ago
Bruno Pinto
faba765a94
Run tests on an isolated docker environment
...
- Install fish from dockerfile and generate a docker image.
- Install Oh My Fish! from downloaded git repository and generate a
docker image.
9 years ago
Bruno Pinto
319c8a05cd
Don't overwrite function on test environment
...
Instead of overwriting functions that use `exec fish` on test
environment, skip this call if the variable `CI` has been defined on the
running shell.
9 years ago
Bruno Pinto
055178bf3d
Dockerfile to install fish and test dependencies
...
This Dockerfile creates an ubuntu machine with fish-shell and the
dependencies we use on our test suite installed.
It does not install Oh My Fish, which one might find weird (I do). Not
confident that this is the best approach, but it's the best I could find
at the moment.
9 years ago
Bruno
e59b75125a
Merge pull request #89 from coderstephen/master
...
Update pkg urls and add weather plugin
9 years ago
Stephen Coakley
53940f5187
Update pkg urls and add weather plugin
9 years ago
Bruno
a1243f659f
Merge pull request #83 from oh-my-fish/faster-loading
...
Faster loading
9 years ago
Bruno Pinto
e2a7f7d229
Split into init.fish and omf.fish files
9 years ago
Bruno Pinto
30ab05445d
Add `require` function to support plugin dep
...
In order to support dependency between plugins a function called
`require` has been added.
9 years ago
Bruno Pinto
ceb31c143a
Source `init.fish` on each plugin.
...
Unnecessarily sourcing a `$plugin_name.fish` is affecting the loading
time.
9 years ago
Bruno
2040eedc15
Merge pull request #84 from oh-my-fish/stash-is-bad
...
Stash does not support --git-dir
9 years ago
Bruno Pinto
9cc8ee5a82
Stash does not support --git-dir
...
Stash is a shell script that does not support `--git-dir`, not even on
latest versions. We need to use `git -C` which was only added on recent
versions of `git`.
`omf update` will fail in case omf need needs to run `git stash` and
git is not compatible.
9 years ago
Bruno
f0ea67b861
Merge pull request #72 from coderstephen/master
...
Split custom "init.fish" into clearer "before.init.fish" and "init.fish"
9 years ago
Stephen Coakley
18679d866e
Split custom "init.fish" into clearer "before.init.fish" and "init.fish"
9 years ago
Bruno
557b5da03b
Merge pull request #85 from chgu82837/pr/add-pastfish-theme
...
add pastfish theme
9 years ago
PastLeo
32344b305c
add pastfish theme and update theme-doc
9 years ago
Bruno Pinto
99be4930bc
Merge pull request #39 from icyleaf-feature/i18n-plan
9 years ago
Bruno Pinto
3069368dc5
Remove license from README
9 years ago
icyleaf
639390b203
Added switch language menu
9 years ago
icyleaf
a40f3be16b
Split doc file by i18n rule, add zh-CN docs
9 years ago
Bruno
658c8ad50f
Merge pull request #79 from derekstavis/omf-config-to-init
...
Move $OMF_CONFIG variable to $OMF_PATH/init.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
Bruno
456f6fc4ce
Merge pull request #71 from Pyppe/travis-themes-test
...
Add test-generate-themes-doc.fish
9 years ago
Pyry-Samuli Lahti
c97e1af4bc
Add test-generate-themes-doc.fish
...
* Run with Travis CI, if commits contain changes to `db/themes`
* When run; fail build if `docs/Themes.md` is no longer up-to-date
9 years ago
Bruno
9c071490ab
Merge pull request #73 from vincentjames501/add-getopts-pkg
...
Add getopts pkg
9 years ago
Vincent Pizzo
2675b22b2c
Add getopts pkg
9 years ago
Bruno
3d77c39e27
Merge pull request #74 from vincentjames501/add-kill-on-port-pkg
...
Add kill-on-port pkg
9 years ago
Vincent Pizzo
9dacbaad0e
Add kill-on-port pkg
9 years ago
Bruno
9f3ab25515
Merge pull request #70 from jeremiejig/remove_pushd_popd
...
Remove some pushd popd, using git --git-dir --work-tree
9 years ago
Bruno
b31f6f3d6a
Merge pull request #69 from nelsonjchen/add-nelsonjchen-theme
...
Add nelsonjchen theme to db
9 years ago
Nelson Chen
c71106a585
Add nelsonjchen theme to db
9 years ago
jeremiejig
56b1d837e0
changing to git -C to git --git-dir work-tree
9 years ago
jeremiejig
5cdde2639a
bin/install & omf.repo.pull adding -C $git_dir removing pushd and popd
9 years ago
Bruno
1994b658ff
Merge pull request #52 from jeremiejig/travisci
...
Travis: Base of travis test
9 years ago
Bruno
c95bef8e30
Merge pull request #68 from coderstephen/master
...
Add tmux-zen plugin to db
9 years ago
Bruno
c99b5fed59
Merge pull request #66 from derekstavis/patch-1
...
README: add custom config file documentation
9 years ago
Bruno
dbfac3a748
Merge pull request #65 from nelsonjchen/readme-remove-src-in-spacer
...
Remove src attribute from spacer image in the README
9 years ago
jeremiejig
77275ea492
adding a TODO: comment
9 years ago
jeremiejig
7022c3db95
tests: test commands help, query & install
9 years ago