Skip to content

Commit

Permalink
clean up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluisq committed Apr 11, 2019
1 parent ef3a016 commit 9d5483a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 24 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
sudo: required

env:
- NODE_ENV=development

before_install:
- sudo add-apt-repository -y ppa:fish-shell/nightly-master
- sudo apt-get update
- sudo apt-get -y install fish
- fish --version
- curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish
- fish -c "fisher -v"

git:
depth: 1

notifications:
email: false

script:
- fish -c "fisher add joseluisq/gitnow"
- fish -c "gitnow -v ; gitnow --version"
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitNow [![Build Status](https://travis-ci.org/joseluisq/gitnow.svg?branch=master)](https://travis-ci.org/joseluisq/gitnow) [![Releases](https://img.shields.io/github/release/joseluisq/gitnow.svg?label=latest)](https://github.com/joseluisq/gitnow/releases)

> Speed up your Git workflow. :tropical_fish:
> Speed up your Git workflow. 🐠
GitNow contains a command set that provides high-level operations on the top of Git. A Fish shell alternative inspired by [git-friendly](https://github.com/jamiew/git-friendly).

Expand All @@ -14,16 +14,14 @@ __Stable:__
fisher add joseluisq/gitnow@2.0.4
```

_**Note:** Replace the number above with your preferred release._
<small>_**Note:** Replace the number above with your preferred release._</small>

__Ustable:__

```sh
fisher add joseluisq/gitnow
```

> __Note:__ Fish 2.2.0 doesn't include native snippet support. Upgrade to Fish >= 2.3.0 or append the `gitnow.fish` to your `~/.config/fish/config.fish` file.
## Commands

- [gitnow](#gitnow) — Show available commands and version info.
Expand Down
4 changes: 0 additions & 4 deletions conf.d/gitnow.fish
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
#
# NOTE:
# Fish 2.2.0 doesn't include native snippet support.
# Upgrade to Fish >= 2.3.0 or append the following code to your ~/.config/fish/config.fish

function gitnow -d "Gitnow: Speed up your Git workflow. 🐠" -a xversion
if [ "$xversion" = "-v" ]; or [ "$xversion" = "--version" ]
Expand Down
4 changes: 0 additions & 4 deletions conf.d/gitnow_config.fish
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
#
# NOTE:
# Fish 2.2.0 doesn't include native snippet support.
# Upgrade to Fish >= 2.3.0 or append the following code to your ~/.config/fish/config.fish

set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
set -q fish_config; or set -g fish_config $XDG_CONFIG_HOME/fish
Expand Down
4 changes: 0 additions & 4 deletions conf.d/gitnow_keybindings.fish
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
#
# NOTE:
# Fish 2.2.0 doesn't include native snippet support.
# Upgrade to Fish >= 2.3.0 or append the following code to your ~/.config/fish/config.fish

# Alt + S
bind \es "echo; if state; commandline -f repaint; else ; end"
Expand Down
4 changes: 0 additions & 4 deletions functions/__gitnow_functions.fish
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
#
# NOTE:
# Fish 2.2.0 doesn't include native snippet support.
# Upgrade to Fish >= 2.3.0 or append the following code to your ~/.config/fish/config.fish

function __gitnow_new_branch_switch
set -l branch_name $argv[1]
Expand Down
4 changes: 0 additions & 4 deletions functions/__gitnow_manual.fish
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
#
# NOTE:
# Fish 2.2.0 doesn't include native snippet support.
# Upgrade to Fish >= 2.3.0 or append the following code to your ~/.config/fish/config.fish

function __gitnow_manual -d "Gitnow: Manual page like"
echo (set_color white --bold)"NAME"(set_color normal)
Expand Down

0 comments on commit 9d5483a

Please sign in to comment.