Commit Graph

20 Commits

Author SHA1 Message Date
Bruno Pinto
b36bc03eb0 Remove global OSTYPE variable. 2015-09-05 19:20:24 +01:00
Bruno Pinto
ae0e4388b6 Back to oh-my-fish organization 2015-09-03 19:35:19 +01:00
Derek Stavis
0a195572a1 omf: install without arguments installs bundle 2015-08-31 20:39:54 -03:00
Sheldon Els
633e52101b describe works on installed packages
also modified list_db_packages to return all packages by default, but with a
skip_installed to skip listing installed packages
2015-08-31 22:04:51 +02:00
Gabriel Marquez
3acfae98b1 implements help for commands 2015-08-29 16:42:34 -03: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 Pinto
7706d848cc Fix dim color that was the same as em 2015-08-28 17:47:50 +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
d107b2ec1e simplify color setters 2015-08-28 18:35:50 +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
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
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
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
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.
2015-08-26 19:09:11 +01:00
Jorge Bucaran
2693a2fd18 %%% United States of the Fish → Wahoo + OMF %%% 2015-08-27 00:20:13 +09:00