Bruno Pinto
6f4368870e
Fix #545 : Remove custom packages and themes
...
Remove function was not deleting packages and themes from the OMF_CONFIG
folder.
2015-08-29 19:29:37 +01:00
Bruno
66c4b5d10f
Merge pull request #554 from fish-shell/bobthecow-patch-1
...
Update repo for local-config plugin
2015-08-29 18:30:14 +01:00
Justin Hileman
c9c767e7a6
Update repo for local-config plugin
...
Since they're plugins again :P
2015-08-29 10:29:20 -07:00
Bruno
39e4d6e8bf
Merge pull request #548 from sheldon/info-command
...
describe command
2015-08-29 18:21:03 +01:00
Sheldon Els
00701642e8
info command
...
to easily see from commandline what each package does via their descriptions
on github
2015-08-29 18:48:29 +02:00
Bruno
45ed71907f
Merge pull request #553 from derekstavis/plugin/foreign-env
...
registry: add foreign-env plugin
2015-08-29 17:17:14 +01:00
Derek Stavis
9e9fe56ea7
registry: add foreign-env plugin
2015-08-29 13:16:49 -03:00
Bruno
b65833399e
Merge pull request #550 from fish-shell/plugin-rbenv
...
Update rbenv plugin git location
2015-08-29 17:10:51 +01:00
Bruno Pinto
a5918bfada
Update rbenv plugin git location
2015-08-29 17:10:40 +01:00
Bruno
c0ef0cc9f6
Merge pull request #552 from derekstavis/plugin/title
...
registry: add title plugin
2015-08-29 16:05:54 +01:00
Derek Stavis
ae6b3ab437
registry: add title plugin
2015-08-29 11:17:38 -03:00
Bruno
6500abd098
Merge pull request #542 from fish-shell/theme-default
...
Reference #517 Add default theme to database
2015-08-29 00:27:20 +01:00
Bruno Pinto
895dd1532b
Reference #517 Add default theme to database
2015-08-29 00:27:03 +01:00
Bruno Pinto
130fc2119d
Forgot to add omf cd
on help.
2015-08-29 00:23:58 +01:00
Bruno Pinto
7706d848cc
Fix dim color that was the same as em
2015-08-28 17:47:50 +01:00
Bruno
3d924b79ca
Merge pull request #541 from fish-shell/cd-cli
...
cd command
2015-08-28 17:44:40 +01:00
Bruno Pinto
ecb9dfa0a9
omf cd
command for changing directories.
...
Jump around Oh My Fish packages and themes using `omf cd <name>`. If no
<name> is specified, jump to oh my fish root folder.
2015-08-28 17:23:20 +01:00
Bruno Pinto
62a45e9ec2
Convert version and help into options
...
Instead of clobbering the actions with both version and help, use
options instead. They are also going to be used for subcommands (e.g.
omf list --help) once they support options.
2015-08-28 17:08:40 +01:00
Jorge Bucaran
0fc2249b12
Merge pull request #539 from fish-shell/change-theme-on-new-theme
...
Change theme when creating a new theme
2015-08-28 21:18:07 +09:00
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.
2015-08-28 13:15:31 +01:00
Jorge Bucaran
251a77afc0
Merge pull request #532 from fish-shell/config-template
...
Extracting template to a file and improving it
2015-08-28 21:10:19 +09:00
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.
2015-08-28 12:53:37 +01:00
Jorge Bucaran
5654170b93
Merge pull request #538 from dan-c-underwood/master
...
Improve README clarity for custom configuration
2015-08-28 20:09:01 +09:00
Dan Underwood
92c51768e0
Grammar
2015-08-28 11:59:16 +01:00
Dan Underwood
682acf77b5
Link to the FAQ to reduce ambiguity in README section on custom configuration.
2015-08-28 11:57:48 +01:00
Jorge Bucaran
d107b2ec1e
simplify color setters
2015-08-28 18:35:50 +09:00
Jorge Bucaran
84872300df
refactor botched source calls with ^/dev/null
2015-08-28 18:35:49 +09:00
Jorge Bucaran
87d88f702e
add a Private Functions section
2015-08-28 18:33:31 +09:00
Bruno Pinto
0767b2a72f
Fish < 2.2 does not support argument for set_color
...
The second argument (background) was added on fish 2.2
2015-08-28 18:33:31 +09:00
Harrison Heck
7d47220770
Add checks to see if file exists before source.
...
Fixes #524 .
2015-08-28 18:31:50 +09:00
Harrison Heck
e7abc74939
Change github url to current url.
2015-08-28 18:28:47 +09:00
Wes Morgan
c6e72863bd
centralize pkg / theme installation
2015-08-28 18:28:47 +09:00
Bruno Pinto
f7677581fa
Add z
package to oh-my-fish database
2015-08-28 18:24:57 +09:00
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.
2015-08-28 18:24:57 +09:00
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.
2015-08-28 18:24:56 +09:00
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
2015-08-28 18:21:03 +09:00
Wes Morgan
2564e7446c
refresh after installing package or theme
...
The functions themselves no longer do that.
2015-08-28 18:21:03 +09:00
Wes Morgan
718ba2fc10
don't refresh in omf_theme
...
Leave that up to the caller.
2015-08-28 18:21:03 +09:00
Wes Morgan
4809687b52
don't refresh in omf_install_package
...
Leave that up to the caller.
2015-08-28 18:21:03 +09:00
Bruno Pinto
b5591c97d0
Improve template README
...
Layout and links
2015-08-28 18:21:03 +09:00
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.
2015-08-27 11:02:30 -07:00
Bruno
e116608c01
Merge pull request #526 from bobthecow/add-local-config
...
Add local-config
2015-08-27 18:16:18 +01:00
Justin Hileman
37debfd4f3
Add local-config
2015-08-27 10:15:03 -07:00
Jorge Bucaran
a1c319db73
fix template generator using incorrect variable USERNAME → USER
2015-08-27 10:28:00 +09:00
Bruno Pinto
aa8a770dea
Forgot to rename get to install on README
2015-08-26 23:47:47 +01:00
Jorge Bucaran
fa46c0118e
Merge pull request #519 from fish-shell/get-renamed-to-install
...
Rename 'get' to 'install'
2015-08-27 07:24:02 +09:00
Jorge Bucaran
62a195fa7b
Merge pull request #518 from fish-shell/no-def-plus-template
...
No def plus template
2015-08-27 06:36:04 +09:00
Jorge Bucaran
7a7b0ff393
create empty theme config file during install
2015-08-27 06:15:17 +09:00
Jorge Bucaran
c855e0024c
fix omf new theme and remove default theme
2015-08-27 06:04:24 +09:00
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'.
2015-08-26 21:19:40 +01:00