Commit Graph

1358 Commits (893ad235f262650aba66040c70dc95f10306f5bb)
 

Author SHA1 Message Date
Jorge Bucaran 0fc2249b12 Merge pull request #539 from fish-shell/change-theme-on-new-theme
Change theme when creating a new theme
9 years ago
Bruno Pinto 2222db74d8 Change theme when creating a new theme
We already change the current directory to the theme dir, to make it
easier for development, we also change the current theme.
9 years ago
Jorge Bucaran 251a77afc0 Merge pull request #532 from fish-shell/config-template
Extracting template to a file and improving it
9 years ago
Bruno Pinto 7c5e2b3964 Extracting template to a file and improving it
It's hard to read the template as it was being created using `echo`
instead of being defined on a separate file. Also adding some comments
to improve the configuration file readability.
9 years ago
Jorge Bucaran 5654170b93 Merge pull request #538 from dan-c-underwood/master
Improve README clarity for custom configuration
9 years ago
Dan Underwood 92c51768e0 Grammar 9 years ago
Dan Underwood 682acf77b5 Link to the FAQ to reduce ambiguity in README section on custom configuration. 9 years ago
Jorge Bucaran d107b2ec1e simplify color setters 9 years ago
Jorge Bucaran 84872300df refactor botched source calls with ^/dev/null 9 years ago
Jorge Bucaran 87d88f702e add a Private Functions section 9 years ago
Bruno Pinto 0767b2a72f Fish < 2.2 does not support argument for set_color
The second argument (background) was added on fish 2.2
9 years ago
Harrison Heck 7d47220770 Add checks to see if file exists before source.
Fixes #524.
9 years ago
Harrison Heck e7abc74939 Change github url to current url. 9 years ago
Wes Morgan c6e72863bd centralize pkg / theme installation 9 years ago
Bruno Pinto f7677581fa Add `z` package to oh-my-fish database 9 years ago
Bruno Pinto bfe77b6273 Handle scenarios where colors are not defined.
Fish should set default colors:
b32f770a69/share/functions/__fish_config_interactive.fish

But in case some users don't have these color variables set, use their
defaults values.
9 years ago
Bruno Pinto 20ed43983b Naming functions with `omf.` namespace.
Having a clear namespace `omf.` improves the readability of the code as
we clarify what is the function name and what is the namespace.
9 years ago
Bruno Pinto 2ecc1fc100 Use fish's colors
Instead of using custom colors, reuse fish's colors.
Original fish colors here:
4d628d5f43/functions/restore_original_fish_colors.fish
9 years ago
Wes Morgan 2564e7446c refresh after installing package or theme
The functions themselves no longer do that.
9 years ago
Wes Morgan 718ba2fc10 don't refresh in omf_theme
Leave that up to the caller.
9 years ago
Wes Morgan 4809687b52 don't refresh in omf_install_package
Leave that up to the caller.
9 years ago
Bruno Pinto b5591c97d0 Improve template README
Layout and links
9 years ago
Justin Hileman 0359ba047c Merge `$OMF_CONFIG` and `$OMF_CUSTOM`.
Per conversation with @bpinto in Gitter.

There's no need for two separate directories. You don't have a `.git` and `.git-custom` folder, you just put your config in `.git` :)

The most straightforward interpretation of XDG basedir spec is that user configuration for omf would go in `~/.config/omf`, so let's put it there. The only question is whether omf-generated config (i.e. the `theme` file) should go there as well. By analogy with git, programmatically generated config should probably be merged in with user config. This also makes it so when a user clones their dotfiles to a new machine, both kinds of settings come with it.
9 years ago
Bruno e116608c01 Merge pull request #526 from bobthecow/add-local-config
Add local-config
9 years ago
Justin Hileman 37debfd4f3 Add local-config 9 years ago
Jorge Bucaran a1c319db73 fix template generator using incorrect variable USERNAME → USER 9 years ago
Bruno Pinto aa8a770dea Forgot to rename get to install on README 9 years ago
Jorge Bucaran fa46c0118e Merge pull request #519 from fish-shell/get-renamed-to-install
Rename 'get' to 'install'
9 years ago
Jorge Bucaran 62a195fa7b Merge pull request #518 from fish-shell/no-def-plus-template
No def plus template
9 years ago
Jorge Bucaran 7a7b0ff393 create empty theme config file during install 9 years ago
Jorge Bucaran c855e0024c fix omf new theme and remove default theme 9 years ago
Bruno Pinto 24ab9a991b Rename 'get' to 'install'
We already use 'install' on the command description: 'Install one or
more packages.'

Also call update using 'u' instead of 'p'.
9 years ago
Jorge Bucaran 8850c84216 ignore themes directory 9 years ago
Bruno d647f41bea Merge pull request #516 from fish-shell/fix-omf-remove
Current in use theme should not be deletable
9 years ago
Bruno Pinto 7f53f59ee6 Remove unused code
`default` was doing nothing.
9 years ago
Jorge Bucaran c480308889 remove references to `wa` 9 years ago
Jorge Bucaran bf52f5d57a fix basename polyfill 9 years ago
Jorge Bucaran ed688aac2d fix use of older omf_use in omf_remove_package 9 years ago
Jorge Bucaran d18d886c51 Merge pull request #514 from fish-shell/rename_use_to_theme
Rename `omf use` to `omf theme`.
9 years ago
Bruno Pinto a9df3e1e98 Rename `omf use` to `omf theme`.
The first time I saw `use`, I thought I could use the command for
everything, including packages, but it's only used for themes. So, it's
better to have a clearer name.
9 years ago
Bruno a9d78adc7a Merge pull request #512 from fish-shell/wahoofy
United States of the Fish → Wahoo → Oh My Fish!
9 years ago
Jorge Bucaran 41ce78a86a fix FAQ link again 9 years ago
Jorge Bucaran eab3cb5733 fix FAQ link 9 years ago
Jorge Bucaran e68f83ffeb fix omf_get_package typo 9 years ago
Jorge Bucaran b7161bb0ac Merge branch 'wahoofy' of https://github.com/fish-shell/oh-my-fish into wahoofy 9 years ago
Jorge Bucaran 81be34a751 improve upgrade warning 9 years ago
Bruno d2bfca7d63 wa -> omf 9 years ago
Jorge Bucaran f4147ffea1 Merge branch 'wahoofy' of https://github.com/fish-shell/oh-my-fish into wahoofy 9 years ago
Jorge Bucaran 159efd6fa2 add upgrade notice 9 years ago
Jorge Bucaran 933e05f4e5 improve upgrade instructions 9 years ago