mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 10:07:57 +08:00
Replace package database with independently installed package repositories (#427)
Replace package database with independently installed package repositories - Add support for fetching and installing from package repositories containing package URLs and metadata - Support multiple package repository sources - Add new repo command - Remove submit command - Enhance describe and search commands - Fix and improve help text for new and adjusted commands - Fix bundle install exit status - Refer to plugins as "plugins" instead of the general term "packages" - Code clarity improvements - Put plugin/theme distinction into package metadata
This commit is contained in:
parent
e2c3343ebb
commit
2d1deeb5fd
13
README.md
13
README.md
|
@ -50,7 +50,7 @@ Oh My Fish includes a small utility `omf` to fetch and install new packages and
|
||||||
|
|
||||||
#### `omf update` _`[omf]`_ _`[<package>...]`_
|
#### `omf update` _`[omf]`_ _`[<package>...]`_
|
||||||
|
|
||||||
Update the framework and installed packages.
|
Update Oh My Fish, all package repositories, and all installed packages.
|
||||||
|
|
||||||
- When called without arguments, update core and all installed packages.
|
- When called without arguments, update core and all installed packages.
|
||||||
- You can choose to update only the core, by running `omf update omf`.
|
- You can choose to update only the core, by running `omf update omf`.
|
||||||
|
@ -64,6 +64,10 @@ Install one _or more_ packages.
|
||||||
- You can install packages directly by URL via `omf install URL`
|
- You can install packages directly by URL via `omf install URL`
|
||||||
- When called without arguments, install missing packages from [bundle](#dotfiles).
|
- When called without arguments, install missing packages from [bundle](#dotfiles).
|
||||||
|
|
||||||
|
#### `omf repositories` _`[list|add|remove]`_
|
||||||
|
|
||||||
|
Manage user-installed package repositories. Package repositories are where packages come from used by commands like `omf install`. By default the [official repository](https://github.com/oh-my-fish/packages-main) is always installed and available.
|
||||||
|
|
||||||
#### `omf list`
|
#### `omf list`
|
||||||
|
|
||||||
List installed packages.
|
List installed packages.
|
||||||
|
@ -94,13 +98,6 @@ Scaffold out a new package or theme.
|
||||||
|
|
||||||
Searches Oh My Fish's database for a given package, theme or both. It also supports fuzzy search, so if you are not sure of the name you can simply `omf search simple`.
|
Searches Oh My Fish's database for a given package, theme or both. It also supports fuzzy search, so if you are not sure of the name you can simply `omf search simple`.
|
||||||
|
|
||||||
#### `omf submit` _`pkg/<name>`_ _`[<url>]`_
|
|
||||||
|
|
||||||
Add a new package. To add a theme, use `omf submit` _`themes/<name>`_ _`<url>`_.
|
|
||||||
Please note that the _`[<url>]`_ portion of the command should be the url to your repo on github. For example, with the `example` plugin, the command run should be `omf submit pkg/example https://github.com/oh-my-fish/example`.
|
|
||||||
|
|
||||||
Make sure to [send us a PR][omf-pulls-link] to update the registry.
|
|
||||||
|
|
||||||
#### `omf channel`
|
#### `omf channel`
|
||||||
|
|
||||||
Gets or changes the update channel.
|
Gets or changes the update channel.
|
||||||
|
|
|
@ -489,7 +489,7 @@ end
|
||||||
|
|
||||||
# Assert that all tools we need are available.
|
# Assert that all tools we need are available.
|
||||||
function assert_cmds
|
function assert_cmds
|
||||||
set -l cmds basename cp cut date dirname fold head mkdir mv rm sed sort tar tr
|
set -l cmds awk basename cp cut date dirname fold head mkdir mv rm sed sort tar tr
|
||||||
|
|
||||||
for cmd in $cmds
|
for cmd in $cmds
|
||||||
type -f -q $cmd
|
type -f -q $cmd
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-android-sdk
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/pkg-gretel/pkg-ansible
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-apt
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-archlinux
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-argu
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/thecotne/omf-plugin-artisan
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-await
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-aws
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-bak
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-balias
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-bang-bang
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-basename-compat
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-battery
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/devert/plugin-blt
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-brew
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-bundler
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-composer
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-config
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-direnv
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-docker-machine
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-dpaste
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-emacs
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-errno
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-exenv
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-expand
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/jcouyang/plugin-export
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/pkg-gretel/pkg-extract
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-fasd
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/HenrikWL/plugin-fish_logo.git
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/derekstavis/plugin-fonts
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-foreign-env
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/gretel/pkg-fzf
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-gem
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-getopts
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-git-flow
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-gityaw
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-grc
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-hash
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/lfiolhais/plugin-homebrew-command-not-found
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/pkg-gretel/pkg-hub
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/belltoy/plugin-iex
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-jump
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/pkg-gretel/pkg-keychain
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/vincentjames501/fish-kill-on-port
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-license
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-linuxbrew
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-local-config
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/marlin
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/belltoy/plugin-mix
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-mou
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/benc/pkg-mvn
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-node-binpath
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-nodenv
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/derekstavis/plugin-nvm
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-osx
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-pbcopy
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-peco
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/rzyns/pkg-php-version
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-phpbrew
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/iamruinous/plugin-powerline
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-proxy
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-pyenv
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-python
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-rails
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-rbenv
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-rustup.git
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-rvm
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-spark
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-ssh-config.d
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/wk/plugin-ssh-term-helper
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-sublime
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-sudope.git
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-tab
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-technicolor
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/sagebind/plugin-termux
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-thefuck
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-tiny
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-title
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/sagebind/tmux-zen
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-vcs
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-vi-mode
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-virtualfish.git
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-vundle
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-weather
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-wifi-password
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/plugin-wttr
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/theme-agnoster
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/theme-batman
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/theme-beloglazov
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/theme-bira
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/theme-bobthefish
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/theme-budspencer
|
|
|
@ -1 +0,0 @@
|
||||||
https://github.com/oh-my-fish/theme-cbjohnson
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user