oh-my-fish / oh-my-fish Goto Github PK
View Code? Open in Web Editor NEWThe Fish Shell Framework
License: MIT License
The Fish Shell Framework
License: MIT License
Instead of using curl
to install oh-my-fish
we can let OSX users install using brew.
Hei,
i can't find a way of adding dirs to the $PATH. Adding them to the ~/.config/fish/config.fish doesn't seem to work:
ex:
export PATH="$HOME/.composer/vendor/bin:$PATH"
how can i get it there?
thanks
Anyone getting env: node: No such file or directory
. Am using NVM for Node. But the node
command is not recognised in Fish. Any suggestions?
Instead they resolve to a repository under the fish-shell
organization.
Take this URL which is found in omf --help
:
Or the message mentioned in issue #60.
Was this working before the DMCA request?
This is output :
Installing Oh My Fish to /home/t04d/.local/share/omf...
Cloning master from https://github.com/oh-my-fish/oh-my-fish.git...
Adding startup code to fish config file...
An error occurred while redirecting file '/home/t04d/.config/fish/config.fish'
open: Permission denied
Building Oh My Fish configuration...
Standard input: omf install
^
Oh My Fish installation failed.
If you think that it's a bug, please open an
issue with the complete installation log here:
http://github.com/oh-my-fish/oh-my-fish/issues
I Tried
curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish
curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install; and fish install
env OMF_CONFIG=~/.omf curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish
After deleted each time omf dir.
I have omf, from https://github.com/bpinto/oh-my-fish/
repo (dead now).
Latest commit that i have: 12abcea5a128813124df145e96e877f9296f9b9c
.
My steps:
bpinto/oh-my-fish
to oh-my-fish/oh-my-fish
omf self-update
, everything seems fine.fish: Unknown command 'Theme robbyrussell'
~/.config/fish/config.fish (line 32): Theme "robbyrussell"
^
from sourcing file ~/.config/fish/config.fish
called during startup
Usage:
-u, --url [plugin location] : Set exact URL to download the plugin from
-i, --install [plugin name] : Downloads and installs listed plugins [*]
-t, --timeout [duration] : Timeout setting: 30s, 1m, 1h... (infinite by default)
-r, --remove [plugin name] : Removes listed plugins
-l, --list : List installed plugins
-v, --verbose : Prints verbose messages
-s, --silent : Run in silent mode
-h, --help : Prints this help message
[*] Plugin name could be:
elasticsearch/plugin/version for official elasticsearch plugins (download from download.elasticsearch.org)
groupId/artifactId/version for community plugins (download from maven central or oss sonatype)
username/repository for site plugins (download from github master)
Message:
Command [brew] unknown.
Usage:
-u, --url [plugin location] : Set exact URL to download the plugin from
-i, --install [plugin name] : Downloads and installs listed plugins [*]
-t, --timeout [duration] : Timeout setting: 30s, 1m, 1h... (infinite by default)
-r, --remove [plugin name] : Removes listed plugins
-l, --list : List installed plugins
-v, --verbose : Prints verbose messages
-s, --silent : Run in silent mode
-h, --help : Prints this help message
[*] Plugin name could be:
elasticsearch/plugin/version for official elasticsearch plugins (download from download.elasticsearch.org)
groupId/artifactId/version for community plugins (download from maven central or oss sonatype)
username/repository for site plugins (download from github master)
Message:
Command [bundler] unknown.
Usage:
-u, --url [plugin location] : Set exact URL to download the plugin from
-i, --install [plugin name] : Downloads and installs listed plugins [*]
-t, --timeout [duration] : Timeout setting: 30s, 1m, 1h... (infinite by default)
-r, --remove [plugin name] : Removes listed plugins
-l, --list : List installed plugins
-v, --verbose : Prints verbose messages
-s, --silent : Run in silent mode
-h, --help : Prints this help message
[*] Plugin name could be:
elasticsearch/plugin/version for official elasticsearch plugins (download from download.elasticsearch.org)
groupId/artifactId/version for community plugins (download from maven central or oss sonatype)
username/repository for site plugins (download from github master)
Message:
Command [gem] unknown.
Usage:
-u, --url [plugin location] : Set exact URL to download the plugin from
-i, --install [plugin name] : Downloads and installs listed plugins [*]
-t, --timeout [duration] : Timeout setting: 30s, 1m, 1h... (infinite by default)
-r, --remove [plugin name] : Removes listed plugins
-l, --list : List installed plugins
-v, --verbose : Prints verbose messages
-s, --silent : Run in silent mode
-h, --help : Prints this help message
[*] Plugin name could be:
elasticsearch/plugin/version for official elasticsearch plugins (download from download.elasticsearch.org)
groupId/artifactId/version for community plugins (download from maven central or oss sonatype)
username/repository for site plugins (download from github master)
Message:
Command [osx] unknown.
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
~>
And, i have this in my ~/.config/fish/config.fish
:
# Load oh-my-fish configuration.
. $fish_path/oh-my-fish.fish
# Theme
Theme "robbyrussell"
# Plugins
Plugin "brew"
Plugin "bundler"
Plugin "gem"
Plugin "osx"
And the question: how easily and smoothly upgrade omf to lastest version?
Would be great to see these!
https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh
Hi,
I found a bug with omf install
, it won't install plugin referenced by an url.
I'm trying to fix it myself. But any Hint are welcomed.
Here is my bundle config file :
theme default
theme bobthefish
package https://github.com/oh-my-fish/plugin-tmux
package https://github.com/oh-my-fish/plugin-mc
package gi
package extract
package rvm
package rails
package bundler
And here is the output when installing oh-my-fish with the predefined bundle :
Installing default theme...
✔ theme default successfully installed.
Installing bobthefish theme...
✔ theme bobthefish successfully installed.
Trying to clone from URL...
fatal: le dépôt 'tmux' n'existe pas
Could not install package tmux.
Trying to clone from URL...
fatal: le dépôt 'mc' n'existe pas
Could not install package mc.
Installing gi package...
✔ package gi successfully installed.
Installing extract package...
✔ package extract successfully installed.
Installing rvm package...
✔ package rvm successfully installed.
Installing rails package...
✔ package rails successfully installed.
Installing bundler package...
✔ package bundler successfully installed.
Oh My Fish successfully installed.
We need a way to versionate repository changes via git tags and ensure that omf update
only fetch and upgrade using tags too. This way we can continue developing on master branch without breaking user installations. It will also make easier to report bugs and track them too.
The link in Creating Packages which points to
https://github.com/oh-my-fish/oh-my-fish/blob/master/docs/Packages.md
is broken
curl -L https://github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | fish
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 140 100 140 0 0 67 0 0:00:02 0:00:02 --:--:-- 67
100 4654 100 4654 0 0 1945 0 0:00:02 0:00:02 --:--:-- 4544k
Installing Oh My Fish to /Users/faceleg.local/share/omf...
Cloning master from https://github.com/oh-my-fish/oh-my-fish.git...
fatal: could not create leading directories of '/Users/faceleg.local/share/omf': Permission denied
Error cloning repository!
Could there be something in my env that is causing this?
The Gitter link results in a 404 "this is not the chat you were looking for" page. Assuming something wasn't updated when the repository was moved back, as it actually tries to look for wa/oh-my-fish
.
Under fedora-21
➜ ~ omf update
Updating Oh My Fish...
function: Unknown option “repo_dir”
/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish (line 10): function omf.repo.git -V repo_dir
^
in function “omf.repo.pull”,
called on line 139 of file “/home/user/.local/share/omf/pkg/omf/omf.fish”,
with parameter list “/home/user/.local/share/omf”
in function “omf”,
called on standard input,
with parameter list “update”
/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish (line 10): function omf.repo.git -V repo_dir
^
in function “omf.repo.pull”,
called on line 139 of file “/home/user/.local/share/omf/pkg/omf/omf.fish”,
with parameter list “/home/user/.local/share/omf”
in function “omf”,
called on standard input,
with parameter list “update”
Current functions are: . N_ alias autoload available basename cd contains_seq delete-or-exit dirh dirs down-or-search eval fish_config fish_default_key_bindings fish_indent fish_prompt fish_sigtrap_handler fish_update_completions funced funcsave git_ahead git_branch_name git_is_dirty git_is_repo git_is_staged git_is_stashed git_is_touched git_untracked grep help history hostname init isatty la ll ls man math mimedb nextd nextd-or-forward-word omf omf.bundle.add omf.bundle.install omf.bundle.remove omf.check.fish_prompt omf.describe omf.destroy omf.doctor omf.help omf.install omf.install_package omf.list_installed_packages omf.new omf.new_from_template omf.packages.cd omf.packages.list omf.remove_package omf.repo.clone omf.repo.pull omf.submit omf.theme omf.update omf.util_mkdir omf.util_valid_package omf.version omf.xdg.config_home omf::dim omf::em omf::err omf::off open popd prevd prevd-or-backward-word prompt_pwd prompt_segments psub pushd refresh require seq setenv sgrep trap type umask up-or-search vared
function: Unknown option “repo_dir”
/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish (line 14): function omf.repo.git.stash -V repo_dir
^
in function “omf.repo.pull”,
called on line 139 of file “/home/user/.local/share/omf/pkg/omf/omf.fish”,
with parameter list “/home/user/.local/share/omf”
in function “omf”,
called on standard input,
with parameter list “update”
/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish (line 14): function omf.repo.git.stash -V repo_dir
^
in function “omf.repo.pull”,
called on line 139 of file “/home/user/.local/share/omf/pkg/omf/omf.fish”,
with parameter list “/home/user/.local/share/omf”
in function “omf”,
called on standard input,
with parameter list “update”
Current functions are: . N_ alias autoload available basename cd contains_seq delete-or-exit dirh dirs down-or-search eval fish_config fish_default_key_bindings fish_indent fish_prompt fish_sigtrap_handler fish_update_completions funced funcsave git_ahead git_branch_name git_is_dirty git_is_repo git_is_staged git_is_stashed git_is_touched git_untracked grep help history hostname init isatty la ll ls man math mimedb nextd nextd-or-forward-word omf omf.bundle.add omf.bundle.install omf.bundle.remove omf.check.fish_prompt omf.describe omf.destroy omf.doctor omf.help omf.install omf.install_package omf.list_installed_packages omf.new omf.new_from_template omf.packages.cd omf.packages.list omf.remove_package omf.repo.clone omf.repo.pull omf.submit omf.theme omf.update omf.util_mkdir omf.util_valid_package omf.version omf.xdg.config_home omf::dim omf::em omf::err omf::off open popd prevd prevd-or-backward-word prompt_pwd prompt_segments psub pushd refresh require seq setenv sgrep trap type umask up-or-search vared
fish: Unknown command 'omf.repo.git'
/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish (line 2): omf.repo.git config --get remote.upstream.url
^
in command substitution
called on line 19 of file “/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish”,
in function “omf.repo.pull”,
called on line 139 of file “/home/user/.local/share/omf/pkg/omf/omf.fish”,
with parameter list “/home/user/.local/share/omf”
in function “omf”,
called on standard input,
with parameter list “update”
fish: Unknown command 'omf.repo.git'
/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish (line 2): omf.repo.git symbolic-ref -q --short HEAD
^
in command substitution
called on line 23 of file “/home/user/.local/share/omf/pkg/omf/cli/omf.repo.pull.fish”,
in function “omf.repo.pull”,
called on line 139 of file “/home/user/.local/share/omf/pkg/omf/omf.fish”,
with parameter list “/home/user/.local/share/omf”
in function “omf”,
called on standard input,
with parameter list “update”
Oh My Fish failed to update.
Please open a new issue here → github.com/oh-my-fish/oh-my-fish/issues
How would one go about uninstalling this? Is it just a matter or removing ~/.config/omf
and removing any references from ~/.config/fish/config.fish
?
A omf doctor
command would be great for checking the sanity of our environment. At this moment there are some checks that come in mind:
fish_prompt
overriden by a file? (as arised in issue #27)config.fish
containing Plugin
and Theme
(while we don't tackle #7)@oh-my-fish/core feel free to edit this issue and add more checks.
I propose to reuse git
's infrastructure as much as possible:
$ omf info <plugin>
Name: <plugin name (echo repository_name | sed "s/plugin-//g")>
Version: <git tag; I think one number should be enough for a plugin version>
Installed: Yes
Status: up-to-date <is the tag last?>
Summary: <.git/description content>
Authors: <git commit authors (see http://stackoverflow.com/a/6482473/2108548)>
What do you think?
On our test setup, when installing Oh My Fish, we call bin/install
with OMF_REPO_BRANCH="$TRAVIS_BRANCH"
.
This environment variable is misleading, as we think travis would return the Pull Request branch name but it 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).
As we are using master
instead, it's likely that PRs that break the install script will not have broken tests before they are merged. Does anyone know a solution for this?
Ref: http://docs.travis-ci.com/user/environment-variables/
On the PR #80, there are two builds from Travis:
The one that is successful has the following exported information:
OMF_REPO_BRANCH dockerize
OMF_REPO_URI https://github.com/oh-my-fish/oh-my-fish
And the one that fails:
OMF_REPO_BRANCH master
OMF_REPO_URI https://github.com/oh-my-fish/oh-my-fish
Hello,
My terminal output speaks for itself:
$ curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 140 100 140 0 0 203 0 --:--:-- --:--:-- --:--:-- 203
100 4295 100 4295 0 0 4606 0 --:--:-- --:--:-- --:--:-- 4Installing Oh My Fish...
606
Resolving Oh My Fish path → /home/ysr/.local/share/omf
Cloning Oh My Fish → https://github.com/oh-my-fish/oh-my-fish.git
Oh My Fish revision id → 9f3ab25515e1e10bdaff2c7218bede3c94eeeea8
Adding Oh My Fish bootstrap → /home/ysr/.config/fish/config.fish
fish: Unknown command “source”
/home/ysr/.config/fish/config.fish (line 13): source $OMF_PATH/init.fish
^
in . (source) call of file “/home/ysr/.config/fish/config.fish”,
called on standard input,
fish: Unknown command “omf”
Standard input: omf install
^
Oh My Fish couldn't install, but you can complain here → github.com/oh-my-fish/oh-my-fish/issues
Does anyone have an idea about what might cause this issue?
Thank you,
I am using the Gruvbox theme (https://github.com/morhetz/gruvbox) for Vim. All works. However, in .bashrc
, I have:
source "$HOME/.vim/bundle/gruvbox/gruvbox_256palette.sh"
Which will recalibrate the colors in iTerm.
I have fenv source ~/.vim/bundle/gruvbox/gruvbox_256palette.sh
in ~/.config/omf/init/fish
, but it doesn't seem to be doing anything.
Am I missing something?
So in ~/.config/omf/init.fish
, I have:
fenv source ~/.vim/bundle/gruvbox/gruvbox_256palette.sh
Everytime I start a Fish shell, I see:
---DIVIDER--- MANPATH=/Users/chris/.nvm/versions/node/v0.12.2/share/man:/Users/chris/.rvm/rubies/ruby-2.1.6/share/man:/usr/local/share/man:/usr/share/man:/Users/chris/.rvm/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man NVM_IOJS_ORG_VERSION_LISTING=https://iojs.org/dist/index.tab rvm_bin_path=/Users/chris/.rvm/bin TERM_PROGRAM=iTerm.app GEM_HOME=/Users/chris/.rvm/gems/ruby-2.1.6 TERM=screen-256color SHELL=/usr/local/bin/fish TMPDIR=/var/folders/cd/py8lhjdx4hxcgtd4vpjrnklr0000gn/T/ NVM_PATH=/Users/chris/.nvm/versions/node/v0.12.2/lib/node Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.BeAsaT9KcH/Render ORIGINAL_PATH=/usr/local/bin /usr/bin /bin /usr/sbin /sbin USER=chris NVM_DIR=/Users/chris/.nvm rvm_path=/Users/chris/.rvm SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.Lph298rxJw/Listeners __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 TMUX=/private/var/folders/cd/py8lhjdx4hxcgtd4vpjrnklr0000gn/T/tmux-501/default,53850,0 rvm_prefix=/Users/chris PATH=/Users/chris/.rvm/gems/ruby-2.1.6/bin:/Users/chris/.rvm/gems/ruby-2.1.6@global/bin:/Users/chris/.rvm/rubies/ruby-2.1.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/chris/.rvm/bin NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist __fish_sysconfdir=/usr/local/Cellar/fish/2.2.0/etc/fish PWD=/Users/chris/.config/omf __fish_datadir=/usr/local/Cellar/fish/2.2.0/share/fish LANG=en_US.UTF-8 ITERM_PROFILE=foobar XPC_FLAGS=0x0 TMUX_PANE=~
Is this normal?
I get the following error on Mac OS X 10.10.5 when running omf update
:
Oh My Fish failed to update.
Please open a new issue here → git.io/omf-issues
I have two factor authentication turned on, and generated an access token to use for my password.
I have a collection of functions (mainly aliases) that I wrote that I want to retire since transitioning to OMF. What do I need to do to be able to use them with OMF.
I did not see anything in the guide for this. If I missed it please point me in the correct direction.
TIA
We are currently using a PNG-based logo which weights 18.80k. I have redrawn our logo in fully vectorised SVG, which brings benefits in scalability -- we need just one file and can abuse on dimensions -- and in load time -- I optimised it down to just 0.7k.
Please give a look below and tell what you guys think about:
Hey guys, trying to upgrade omf. I get a weird error breaking everything :'(
On Mac OS X 10.10.5 :
rm -rf ~/.oh-my-fish/
rm ~/.config/fish/config.fish
curl -L github.com/oh-my-fish/oh-my-fish/raw/master/bin/install > install
fish install
Installing Oh My Fish to /Users/ct/.local/share/omf...
Cloning master from https://github.com/oh-my-fish/oh-my-fish.git...
Adding startup code to fish config file...
Building Oh My Fish configuration...
basename: illegal option -- -
usage: basename string [suffix]
basename [-a] [-s suffix] string [...]
Error: package already installed.
Installation successful!
I have never used omf query
and I don't think I ever will.
It's only polluting the list of commands. The only time we need such feature is when someone is having an issue with omf
. Instead of polluting the list of commands, what about renaming it to debug
and change it's output to a file that people can attach to us when creating an issue?
I was also thinking about adding it to the bottom of the help section, similar to what git
does:
The most commonly used git commands are:
...
status Show the working tree status
tag Create, list, delete or verify a tag object signed with GPG
'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
Is there a feature or plugin that does something similar to autojump - https://github.com/wting/autojump ?
If a plugin such as https://github.com/oh-my-fish/plugin-python is listed in bundle but not installed, omf install
installs it and add the URL to the bundle.
Is a pretty basic question but, ok omf install {{packagename}}
... cool, but i'm new with this and i don't know any index of packages or something... are independient in they own repos? are they in the same repo of OMF? can i list them in the terminal like themes? some hint here?
I know that my question is pretty stupid but, really im googling and get nothing D:
We need a major overhaul in our directory structure. The omf
plugin got inflated with stuff. Core library include unnecessary additions (mostly basename
). Tackling plugins and themes auto-installable dependencies (#64) should fix most of our separation of concerns issues to allow us to divide most omf
plugin functionality into separate plugins.
With this in mind I have designed and propose a functionality split using the following plugins:
core
: Framework-wise functions
omf.core.reload
: Reload Oh My Fishomf.core.require
: Loads a packagedatabase
: Oh My Fish package database functions
packages.installed
: List installed packagespackages.available
List packages available to installpackage.install
: Install a packageomf
: Oh My Fish command line tool.
omf
: Main utility functionomf.install
: Install package or themeomf.remove
: Remove themeomf. ...
: other command functionstechnicolor
: Functions for colorising output, usable by both themes and plugins to color text.
tint:
: Tint output text using colorsbold:
: Make output text boldvcs
: A façade for version control, usable by themes which integrate VCS prompt.
omf.vcs.name
: Outputs the VCS name (git
, hg
, svn
)omf.vcs.present
: Check if in vcsomf.vcs.branch
: Print current branch nameomf.vcs.dirty
: Check if repository is dirtyomf.vcs.staged
: Check if repo has staged changesomf.vcs.stashed
: Check if repo has stashed changesomf.vcs.touched
: Check if repo has any changesomf.vcs.status
: Output characters for ahead/behind/diverged/detached/clean statesThe implementation can be rolled out in parallel with the current structure, so no backwards-impacting changes would be done. The roadmap I see for implementing this structure follows the order below:
plugin-technicolor
plugin-technicolor
pluginplugin-vcs
omf-cli
omf-core
Let me know what you think about this changes. Comments and improvements on structure are very welcome. I will keep this OP in sync with discussion below.
Invoking omf
with no parameters give a extended help text which requires 32 lines to be completely shown:
$ omf
$ omf [command] [arguments]
Usage:
omf install [<name>|<url>]
omf theme [<name>]
omf remove [<name>]
omf update
omf help [<command>]
Commands:
list List local packages.
describe Get information about what packages do.
install Install one or more packages.
theme List / Use themes.
remove Remove a theme or package.
update Update Oh My Fish.
cd Change directory to plugin/theme directory.
new Create a new package from a template.
submit Submit a package to the registry.
query Query environment variables.
destroy Uninstall Oh My Fish.
help Shows help about a specific action.
Options:
--help Display this help.
--version Display version.
For more information visit → git.io/oh-my-fish
$
I propose cutting this to include just the usage section, as most unix programs do, which is 12 lines:
$ omf
$ omf [command] [arguments]
Usage:
omf install [<name>|<url>]
omf theme [<name>]
omf remove [<name>]
omf update
omf help [<command>]
$
OMF supported Theme 'default'
and Plugin 'rbenv'
commands on config.fish
file. This was much easier to use than the current way (split in two different files).
As restoring the old functionality entirely will break compatibility again, we should add support for the behaviour described above as a wrapper around the current solution.
In a future issue, we could discuss removing the current solution for good.
When switching my theme, nothing changes. Also, some themes throw errors. Fish version 2.1.2, just updated oh my fish. Running on osx 10.9.5.
I've always installed git using homebrew, and even my aliases (configured in ~/.gitconfig
) used to complete fine:
[alias]
aa = add --all
ap = add --patch
br = branch
ca = commit --amend
ci = commit -v
co = checkout
df = diff
lg = log -p
st = status
I recently returned to oh-my-fish from tacklebox (which ws loading oh-my-fish's legacy git completions), and upgraded my oh-my-fish to v2.
Now, when I type git [TAB]
or git checkout [TAB]
, I get:
fish: Unknown command '__fish_git_needs_command'
in command substitution
called on standard input
fish_update_completions
, I don't get git.fish
: ~ > ll ~/.local/share/fish/generated_completions/ | grep git
-rw-r--r-- 1 philip staff 216B Oct 15 11:05 git-am.fish
-rw-r--r-- 1 philip staff 230B Oct 15 11:05 git-apply.fish
-rw-r--r-- 1 philip staff 271B Oct 15 11:05 git-branch.fish
-rw-r--r-- 1 philip staff 614B Oct 15 11:05 git-cat-file.fish
-rw-r--r-- 1 philip staff 249B Oct 15 11:05 git-checkout.fish
-rw-r--r-- 1 philip staff 733B Oct 15 11:05 git-config.fish
-rw-r--r-- 1 philip staff 251B Oct 15 11:05 git-diff-files.fish
-rw-r--r-- 1 philip staff 251B Oct 15 11:05 git-diff-index.fish
-rw-r--r-- 1 philip staff 317B Oct 15 11:05 git-diff-tree.fish
-rw-r--r-- 1 philip staff 233B Oct 15 11:05 git-diff.fish
-rw-r--r-- 1 philip staff 229B Oct 15 11:05 git-fsck.fish
-rw-r--r-- 1 philip staff 245B Oct 15 11:05 git-hash-object.fish
-rw-r--r-- 1 philip staff 396B Oct 15 11:05 git-log.fish
-rw-r--r-- 1 philip staff 227B Oct 15 11:05 git-p4.fish
-rw-r--r-- 1 philip staff 408B Oct 15 11:05 git-push.fish
-rw-r--r-- 1 philip staff 355B Oct 15 11:05 git-reflog.fish
-rw-r--r-- 1 philip staff 361B Oct 15 11:05 git-rev-list.fish
-rw-r--r-- 1 philip staff 346B Oct 15 11:05 git-rev-parse.fish
-rw-r--r-- 1 philip staff 235B Oct 15 11:05 git-send-email.fish
-rw-r--r-- 1 philip staff 534B Oct 15 11:05 git-send-pack.fish
-rw-r--r-- 1 philip staff 233B Oct 15 11:05 git-show.fish
-rw-r--r-- 1 philip staff 233B Oct 15 11:05 git-status.fish
-rw-r--r-- 1 philip staff 188B Oct 15 11:05 git-tag.fish
-rw-r--r-- 1 philip staff 391B Oct 15 11:05 git-update-index.fish
-rw-r--r-- 1 philip staff 245B Oct 15 11:05 git-verify-commit.fish
-rw-r--r-- 1 philip staff 236B Oct 15 11:05 git-verify-tag.fish
-rw-r--r-- 1 philip staff 899B Oct 15 11:05 git-worktree.fish
-rw-r--r-- 1 philip staff 1.5K Oct 15 11:05 gitk.fish
/Users/philip/.local/share/fish/generated_completions/
is in my $fish_complete_path
Often I run omf install THEME_NAME
but instead of installing the theme, I get an error message saying the package doesn't exist.
The only difference between a theme and a package is that we set the current theme in a omf/theme
file. We could merge both commands and let install
be aware of this difference by setting the current theme whenever one runs omf install THEME_NAME
.
I'm just constantly getting
fatal: Not a git repository (or any of the parent directories): .git
whatever I do. This is my greeting when I open iTerm and when I run:
omf install [whatever]
this command succeeds but then it gives me this git error.
Our inherited install script is currently written in bash. It needs a rewrite in plain fish :)
Looking for the proper place to add to the PATH variable.
I want to add to ~/bin to my path
Starting with no plugins installed and two things defined in the bundle file.
> cat .config/omf/bundle
theme bobthefish
package z
Now I'm running omf install
to install my theme/packages.
> omf install
Installing bobthefish theme...
✔ theme bobthefish successfully installed.
Installing z package...
✔ package z successfully installed.
After that both things are getting added to the bundle (again)
> cat .config/omf/bundle
theme bobthefish
package z
theme bobthefish
package z
I'm using fish 2.2.0 and oh-my-fish 4b0dbc2
Hi,
It might be a good idea to keep some more variable accross the reload of fish like $dirprev $dirnext and $dirstack
For example:
cd
and using alt + ⬅️ or ➡️omf install awesome_pkg
cd ../some/stupid/directory
There might be some other variable needed to be kept accross omf reloading.
I'm not sure if this is intended or not, but i ended up with
set -gx OMF_PATH /home/johnny/.local/share/omf
#set -gx OMF_CONFIG /home/johnny/.config/omf
when I expected:
set -gx OMF_PATH $HOME/.local/share/omf
#set -gx OMF_CONFIG $HOME/.config/omf
omf/db/themes
contains https://github.com/oh-my-fish/theme-cmorrell
The correct is https://github.com/oh-my-fish/theme-cmorrell.com
After that you can cast omf theme cmorrell
without errors.
Hi,
I've done a clean install of Fish using Brew, then using the installer and both times I get fish: Uknown command 'omf'
:
Welcome to fish, the friendly interactive shell Type help for instructions on how to use fish David@Davids-MacBook-Pro ~> omf fish: Unknown command 'omf' David@Davids-MacBook-Pro ~> fish -v fish, version 2.2.0 David@Davids-MacBook-Pro ~>
Instead of having every function
define inside the PACKAGE.fish
file, let's split the functions into individual files:
init.fish
uninstall.fish
PACKAGE.fish
It's not only a recommended way of doing it by fish shell but also more efficient because we won't load a function unnecessarily.
Current README is too verbose, we should move not important information to Wiki pages and link them in the README instead.
We should also discuss only the important commands there, they can find out about the other commands from within the tool (or Wiki).
When attempting to update omf with "omf update" I get the following error.
Error: omf package already installed.
Currently omf
plugin uses its own omf::
series of functions to colorize output. I have stumbled upon oh-my-fish/theme-bobthefish#7 and a possible universal solution would be the framework providing output colorisation as a embedded plugin so that both themes and plugins get more compatible with the running environment.
Comments? Ideas?
maybe i missed that in the doc, how do i load my own config ?
i'm not sure it is a good way to go to edit ~/.config/fish/config.fish
file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.