Commit Graph

1795 Commits

Author SHA1 Message Date
Manu [tennox]
90f875e02d Support installing repo from URL with non-master branch
Somewhat related to #905 and #685
2022-06-20 17:38:56 +01:00
Simon Plakolb
55da5f7b6f Fix cutting of paths with equals signs
Cut splits by equals sign and takes the second field. This ignores path
contents after a second equals sign. Currently this prevents the
installation on NixOS as the nix store path automatically contains a
"=".

This PR instead selects all but the first field and equals sign, leaving
the passed paths as intended.
2022-09-29 22:39:22 +02:00
Pablo Santiago Blum de Aguiar
252566fd68 workflow: Include macos-12 to the matrix 2022-09-28 23:31:51 +02:00
Pablo Santiago Blum de Aguiar
0eeacf0684 omf.packages.name: Fix regex by escaping a dot
Fix #901
2022-05-31 21:14:44 +02:00
Pablo Santiago Blum de Aguiar
dc9d2c32d5 Remove leading path element when extracting tarball
Ref.: #787
2021-07-22 00:39:11 +02:00
Pablo Santiago Blum de Aguiar
8ad49c583b Create OMF_PATH when installing offline
Fix #787
2021-07-22 00:37:28 +02:00
Pablo Santiago Blum de Aguiar
37a208177e workflow: Use actions/checkout@3 2022-09-28 23:08:17 +02:00
Pablo Santiago Blum de Aguiar
5e1a4bfc47 workflow: Add ubuntu-20.04 to OS group 2022-09-28 23:07:44 +02:00
Pablo Santiago Blum de Aguiar
32a7e595be workflow: Add brew to path for Ubuntu 2022-09-28 23:04:55 +02:00
Pablo Santiago Blum de Aguiar
d428b723c8 omf.cli.install: Set theme when installed from URL
Co-authored-by: Fabian Homborg <FHomborg@gmail.com>
2022-03-27 13:10:03 +02:00
fdeitylink
029a67518d packages: allow installing with github 'user/repo' 2022-03-26 23:29:32 +01:00
fdeitylink
0cda2c0c1f packages: support {$pkg}_uninstall events
Emit uninstall events independent of uninstall.fish
2022-03-26 23:26:04 +01:00
Karan Verma
b27b3b5aba
Require bundle package after install (#863)
* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* Require bundle package after install

* remove whitespace

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>

Co-authored-by: Derek W. Stavis <dekestavis@gmail.com>
Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2022-03-09 01:38:08 +01:00
Emily Grace Seville
ab05441000
docs: remove Slack status badge (#883) 2022-03-08 14:28:08 -08:00
jjangga0214
446a94a766
docs: rm unnecessary img tag from readme (#859) 2022-03-08 14:27:48 -08:00
jjangga0214
700f7cad54
chore: ignore if only **.md is editted (#860) 2022-03-08 14:26:45 -08:00
Pablo Aguiar
7aee034a80 Create SECURITY.md 2021-12-16 23:14:53 +01:00
Pablo Santiago Blum de Aguiar
05616d85e9 README: Use GitHub for the install script
Relying on some external domain seems like a bad idea after so many
recurring issues. We're certainly better off with a slightly longer URL.

Fix #867
2021-11-05 16:12:19 +01:00
Pablo Santiago Blum de Aguiar
da109ff44e workflow: Update virtual environments 2021-10-31 16:24:27 +01:00
Brian Thompson
59de68c4ca
Change to correct argument to report accurate error message (#853)
* Change to correct argument to report accurate error message

* Update pkg/omf/functions/cli/omf.cli.theme.fish

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2021-08-31 21:55:33 +02:00
Marcelo dos Santos Mafra
0b1396ad79
Change "install" to "activate" to make omf theme doc clearer (#816)
* As omf theme <name> won't install a theme per se, changing "install" to "activate" seems clearer. So omf theme will list installed and available themes, activate a installed one, but won't install one.

* As omf theme <name> won't install a theme per se, changing "install" to 
"activate" seems clearer. So omf theme will list installed and available 
themes, activate a installed one, but won't install one.
2021-03-03 23:17:11 +01:00
fdeitylink
a17107e186 packages: improve theme detection in installation 2021-03-03 11:40:48 -08:00
fdeitylink
53d37a9893 packages: do not set default pkg branch to master 2021-03-03 17:51:52 +01:00
Pablo Santiago Blum de Aguiar
f959596189 Update the screenshot of boxfish
Ref.: joelwanner/theme-boxfish#1
2021-02-06 18:02:04 +01:00
Iago S
9886b88d66
Fix links and spacing for translated documentations (#808)
* docs: fix links

fix es-ES links

fix nl-NL links

fix uk-UA links

fix zh-CN links

* docs: fix README link to FAQ in nl-NL

Fix the link that slip away.

Thanks @scorphus

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2021-01-25 11:20:24 +01:00
Pablo Santiago Blum de Aguiar
3eb76e105f Change table structure 2021-01-25 10:54:59 +01:00
Justin Hileman
45bde32fda Regenerate Themes.md
- Add barracuda and solarfish

Update bobthefish readme contents
2021-01-25 10:54:59 +01:00
Pablo Santiago Blum de Aguiar
be7e05bf46 workflow: Send no notification on Slack
This is somehow useless as secrets are not passed to action runners when
the workflow is triggered from a forked repository (for obvious reasons)
2021-01-24 10:32:58 -08:00
Pablo Santiago Blum de Aguiar
4f40aee133 Themes.md: Show a table of themes instead of a long list 2021-01-24 10:04:51 -08:00
Pablo Aguiar
58a9ac6609
Fix theme URL in pt-BR README (#532)
Co-authored-by: Noa <146050u54@gmail.com>
2021-01-23 21:24:52 +01:00
Pablo Aguiar
ac1c980a76
Make generate-themes-doc usable and update Themes.md (#806)
I didn't have much time to invest in `tools/generate-themes.doc.fish`,
unfortuntely. It's far from perfect, but fairly usable. Please, refer
to instructions in the header.

Fix #795, #800, #771
2021-01-23 07:28:47 -08:00
Pablo Santiago Blum de Aguiar
79e1b05494 Update build status badge and link 2021-01-22 19:18:25 +01:00
Pablo Santiago Blum de Aguiar
dff781c080 Move build from TravisCI to GitHub Actions 2020-12-06 09:54:25 +01:00
Pablo Santiago Blum de Aguiar
85afe3c41d Make math usage in fish-spec backwards compatible 2020-12-12 18:07:35 +01:00
Pablo Santiago Blum de Aguiar
1c14af38b9 Fix mismatched brackets error in omf list on Fish 2.2
Ref #707
2020-12-11 21:35:21 +01:00
Pablo Santiago Blum de Aguiar
b2643e95a2 Assert output content in basic tests 2020-12-11 21:33:32 +01:00
YangKeao
df20117be7
Add branch information for install and update package (#685)
* Install package according to branch information in repo

* Add branch information for update package

* add double quotes for $branch

Signed-off-by: Yang Keao <keao.yang@yahoo.com>
2021-01-22 13:02:03 +01:00
Andy Chen
747ac1d142
Fix translation (#715)
* Fix translation

* README(zh-CN): add url example
2020-12-02 08:47:58 -08:00
Hernawan Faïz Abdillah
f8e09ca604
Fix double slash in index path (#775)
* Fix double slash in index path

Double slash might disturb comparison and make them false positive.

* Fix compatibility with older fish shell

Suggested by @faho [here](https://github.com/oh-my-fish/oh-my-fish/pull/775#issuecomment-736224485).
2020-12-02 07:19:35 +01:00
Johannes Altmanninger
0a32584476 Fix error when inside a bare git repository
For example, "git diff" would print
"fatal: this operation must be run in a work tree"

We could still run git_branch_name in bare repositories in future.
2020-12-01 01:47:35 -08:00
Johannes Altmanninger
b1b10c333d
Check whether we are inside the worktree (#651)
Some git commands require to be run from inside the worktree (as opposed
    to the git dir, although it's usually in .git). This commit adds
a function git_is_worktree to check this. It is used for the commands
that need the worktree instead of git_is_repo.

An alternative solution might have been to find the git worktree in the
parent of the git directory, but this doesn't work for all cases.
Generally it's impossible to detect the location of the worktree (plus
    it's not unique).

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2020-11-30 15:09:43 -08:00
Justin Hileman
e7a8e74f19
Merge pull request #707 from m4rkforks/master
Fix bug when creating new theme
2020-11-30 11:47:09 -08:00
Pablo Santiago Blum de Aguiar
ea1119c61d Standardize documentation header links
Add missing links, reorder alphabetically, and fix spacing issues.
2020-11-30 20:08:57 +01:00
Heimen Stoffels
ba8b282333 Add nl-NL 2020-11-30 19:28:28 +01:00
Heimen Stoffels
bba7ef44c2 Update README.md 2020-11-30 19:28:28 +01:00
Heimen Stoffels
bb390cdc22 Add Dutch translation 2020-11-30 19:28:28 +01:00
Heimen Stoffels
bc4239e012 Add files via upload 2020-11-30 19:28:28 +01:00
Heimen Stoffels
0d2da353bd Add Dutch translation of FAQ.md 2020-11-30 19:28:28 +01:00
Heimen Stoffels
49e190df66 Add nl-NL 2020-11-30 19:28:28 +01:00
Ninamma Rai
a5ca1fbe46 Fix typo 2020-11-30 19:00:44 +01:00