summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/git/git.plugin.zsh1
-rw-r--r--plugins/github/github.plugin.zsh2
-rw-r--r--plugins/nyan/nyan.plugin.zsh15
3 files changed, 12 insertions, 6 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 93b835b77..36f0ff448 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -226,6 +226,7 @@ alias grv='git remote -v'
alias gsb='git status -sb'
alias gsd='git svn dcommit'
+alias gsh='git show'
alias gsi='git submodule init'
alias gsps='git show --pretty=short --show-signature'
alias gsr='git svn rebase'
diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh
index fd19fb524..8e4b97352 100644
--- a/plugins/github/github.plugin.zsh
+++ b/plugins/github/github.plugin.zsh
@@ -36,7 +36,7 @@ new_gh() { # [DIRECTORY]
print '.*'"\n"'*~' >> .gitignore
git add [^.]* \
|| return
- git add .gitignore \
+ git add -f .gitignore \
|| return
git commit -m 'Initial commit.' \
|| return
diff --git a/plugins/nyan/nyan.plugin.zsh b/plugins/nyan/nyan.plugin.zsh
index ac9d0017e..c21c784d9 100644
--- a/plugins/nyan/nyan.plugin.zsh
+++ b/plugins/nyan/nyan.plugin.zsh
@@ -1,5 +1,10 @@
-if [[ -x `which nc` ]]; then
- alias nyan='nc -v nyancat.dakko.us 23' # nyan cat
-fi
-
-
+print -Pn '%F{yellow}'
+cat >&2 <<-EOD
+ nyan plugin:
+ The nyancat server used by this plugin was shut down due to increased
+ bandwidth costs, so the nyan plugin no longer works. You can get the
+ same functionality in some distributions by installing the nyancat package,
+ or you can compile it yourself.
+ See https://github.com/klange/nyancat for more information.
+EOD
+print -Pn '%f'