Comments (6)
I'd advise creating a plugin for your personal functions
Example:
omf new pkg rrosson
and the add your personal functions to the functions
folder inside the plugin.
from oh-my-fish.
@bpinto It feels a bit weird adding a plugin for things like this. It wouldn't be a bad idea to support autoloading functions and completions out of $OMF_CONFIG/{functions,completions}
.
from oh-my-fish.
I honestly prefer the plugin solution. It's how I handle personal functions. However we do already load functions defined on $OMF_CONFIG/functions
from oh-my-fish.
I use personal plugins as well, but it's nice to support a "dump things here" bucket for when the friction of adding a plugin seems too high.
And it turns out we already support it :P
from oh-my-fish.
Let's add completions as well?
from oh-my-fish.
Ok, You guys are awesome. I had just finished making a dumping ground pkg for my small collection of functions and two completions when you guys gave me the answer I was looking for. I created a functions and completions directory inside of ~/config/omf/ and copied my files there. restarted with a new shell and everything works.
from oh-my-fish.
Related Issues (20)
- How can I uninstall completely oh my fish? omf destroy does not uninstall omf HOT 7
- ctrl+a, ctrl+b are not working after OMF installed HOT 8
- Installation failure from curl on Pop-os HOT 4
- 'omf install powerline' responding with "Please install powerline" and not being usable HOT 1
- Is this project active? HOT 2
- Installer checksum in README.md isn't up to date.
- Print error: failed to parse choice argument: 2- HOT 2
- Cannot omf update or install packages
- All plugins
- Z
- OMF's offline installation doesn't really work offline
- Theme not updating even after using command for theme change.
- This no longer supports Fish 2.2.0
- Can't change the theme HOT 1
- I just install OMF and installed the cyan theme and this happened HOT 2
- I see a `[I]` in my fish! HOT 2
- oh-my-fish crashes Garuda-Update process HOT 2
- Remove [I] in the prompt HOT 1
- Installer does not check `$OMF_PATH` permissions
- Prompt Encoding as Question Mark HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oh-my-fish.