forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/clairegriffin/oh-my-zsh
* 'master' of https://github.com/clairegriffin/oh-my-zsh: (114 commits) Add most recent java updated java Rename getgb plugin to gb Rename gb completion file to more conventional _gb Fix formatting of gb plugin completion Add more information to the README Add README to gb plugin Add plugin for Gb completion (http://getgb.io) bundler plugin: Simplify retrieval of cpu count on OSX (ohmyzsh#5180) Fix gfg function completion definition Fix man-preview completion definition Fix issue with `dash` as the default `/bin/sh` script executing program. (ohmyzsh#5177) znt: update to v2.2.1 (ohmyzsh#5174) emacs plugin tweak to open buffer from stdin (ohmyzsh#5126) Update taskwarrior completion to 2.5.1 (ohmyzsh#5171) Remove undesirable hardcoding of PATH into zshrc (ohmyzsh#4925) Add README for OSX plugin and refactor plugin file Open finder to PWD - part 2 (ohmyzsh#5165) Add ofd() to OSX plugin to open finder on current directory (ohmyzsh#5164) add 'mvn clean install -DskipTests --offline' alias to speed up maven compile (ohmyzsh#5153) ...
- Loading branch information
Showing
95 changed files
with
2,798 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
locals.zsh | ||
log/.zsh_history | ||
projects.zsh | ||
custom | ||
# custom files | ||
custom/ | ||
!custom/plugins/example | ||
!custom/example.zsh | ||
*.swp | ||
!custom/example.zshcache | ||
|
||
# temp files directories | ||
cache/ | ||
log/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
# Add yourself some shortcuts to projects you often work on | ||
# Example: | ||
# You can put files here to add functionality separated per file, which | ||
# will be ignored by git. | ||
# Files on the custom/ directory will be automatically loaded by the init | ||
# script, in alphabetical order. | ||
|
||
# For example: add yourself some shortcuts to projects you often work on. | ||
# | ||
# brainstormr=~/Projects/development/planetargon/brainstormr | ||
# cd $brainstormr | ||
# | ||
# brainstormr=/Users/robbyrussell/Projects/development/planetargon/brainstormr | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## arcanist | ||
|
||
**Maintainer:** [@emzar](https://github.com/emzar) | ||
|
||
This plugin adds many useful aliases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# Aliases | ||
# (sorted alphabetically) | ||
# | ||
|
||
alias ara='arc amend' | ||
alias arb='arc branch' | ||
alias arco='arc cover' | ||
alias arci='arc commit' | ||
|
||
alias ard='arc diff' | ||
alias ardnu='arc diff --nounit' | ||
alias ardnupc='arc diff --nounit --plan-changes' | ||
alias ardpc='arc diff --plan-changes' | ||
|
||
alias are='arc export' | ||
alias arh='arc help' | ||
alias arl='arc land' | ||
alias arli='arc lint' | ||
alias arls='arc list' | ||
alias arpa='arc patch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## asdf | ||
|
||
**Maintainer:** [@RobLoach](https://github.com/RobLoach) | ||
|
||
Adds integration with [asdf](https://github.com/asdf-vm/asdf), the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more. | ||
|
||
### Installation | ||
|
||
1. Enable the plugin by adding it to your `plugins` definition in `~/.zshrc`. | ||
|
||
``` | ||
plugins=(asdf) | ||
``` | ||
|
||
2. [Install asdf](https://github.com/asdf-vm/asdf#setup) by running the following: | ||
``` | ||
git clone https://github.com/asdf-vm/asdf.git ~/.asdf | ||
``` | ||
|
||
### Usage | ||
|
||
See the [asdf usage documentation](https://github.com/asdf-vm/asdf#usage) for information on how to use asdf: | ||
|
||
``` | ||
asdf plugin-add nodejs git@github.com:asdf-vm/asdf-nodejs.git | ||
asdf install nodejs 5.9.1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Find where asdf should be installed. | ||
ASDF_DIR="${ASDF_DIR:-$HOME/.asdf}" | ||
|
||
# Load asdf, if found. | ||
if [ -f $ASDF_DIR/asdf.sh ]; then | ||
. $ASDF_DIR/asdf.sh | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,7 @@ _bower () | |
compadd "$@" $(echo $bower_package_list) | ||
;; | ||
*) | ||
_arguments \ | ||
$_no_color \ | ||
;; | ||
esac | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
#!/bin/sh | ||
|
||
# get list of available X windows. | ||
x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null` | ||
_emacsfun() | ||
{ | ||
# get list of available X windows. | ||
x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null` | ||
|
||
if [ -z "$x" ] || [ "$x" = "nil" ] ;then | ||
# Create one if there is no X window yet. | ||
emacsclient --alternate-editor "" --create-frame "$@" | ||
if [ -z "$x" ] || [ "$x" = "nil" ] ;then | ||
# Create one if there is no X window yet. | ||
emacsclient --alternate-editor "" --create-frame "$@" | ||
else | ||
# prevent creating another X frame if there is at least one present. | ||
emacsclient --alternate-editor "" "$@" | ||
fi | ||
} | ||
|
||
|
||
# adopted from https://github.com/davidshepherd7/emacs-read-stdin/blob/master/emacs-read-stdin.sh | ||
# If the second argument is - then write stdin to a tempfile and open the | ||
# tempfile. (first argument will be `--no-wait` passed in by the plugin.zsh) | ||
if [ "$#" -ge "2" -a "$2" = "-" ] | ||
then | ||
tempfile="$(mktemp emacs-stdin-$USER.XXXXXXX --tmpdir)" | ||
cat - > "$tempfile" | ||
_emacsfun --no-wait $tempfile | ||
else | ||
# prevent creating another X frame if there is at least one present. | ||
emacsclient --alternate-editor "" "$@" | ||
_emacsfun "$@" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Fossil Plugin | ||
|
||
This plugin adds completion support and prompt for fossil repositories. | ||
The prompt will display the current branch and status been dirty or clean. | ||
|
||
### CONTRIBUTOR | ||
- Jefferson González ([jgmdev](https://github.com/jgmdev)) |
Oops, something went wrong.