Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
ac58ffdf
Commit
ac58ffdf
authored
Sep 19, 2013
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1840 from yleo77/master
About gf alias
parents
b51c2a0d
0240ac64
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
6 deletions
+42
-6
.gitignore
.gitignore
+2
-3
sfffe.plugin.zsh
custom/plugins/sfffe/sfffe.plugin.zsh
+28
-0
git-flow.plugin.zsh
plugins/git-flow/git-flow.plugin.zsh
+6
-0
git.plugin.zsh
plugins/git/git.plugin.zsh
+6
-3
No files found.
.gitignore
View file @
ac58ffdf
locals.zsh
locals.zsh
log/.zsh_history
log/.zsh_history
projects.zsh
projects.zsh
custom/*
custom/example
!custom/example
custom/example.zsh
!custom/example.zsh
*.swp
*.swp
!custom/example.zshcache
!custom/example.zshcache
cache/
cache/
custom/plugins/sfffe/sfffe.plugin.zsh
0 → 100644
View file @
ac58ffdf
# ------------------------------------------------------------------------------
# FILE: sfffe.plugin.zsh
# DESCRIPTION: search file for FE
# AUTHOR: yleo77 (ylep77@gmail.com)
# VERSION: 0.1
# REQUIRE: ack
# ------------------------------------------------------------------------------
if
[
!
-x
$(
which ack
)
]
;
then
echo
\'
ack
\'
is not installed!
exit
-1
fi
ajs
()
{
ack
"
$@
"
--type
js
}
acss
()
{
ack
"
$@
"
--type
css
}
fjs
()
{
find ./
-name
"
$@
*"
-type
f |
grep
'\.js'
}
fcss
()
{
find ./
-name
"
$@
*"
-type
f |
grep
'\.css'
}
plugins/git-flow/git-flow.plugin.zsh
View file @
ac58ffdf
...
@@ -20,6 +20,12 @@
...
@@ -20,6 +20,12 @@
# c. Or, use this file as a oh-my-zsh plugin.
# c. Or, use this file as a oh-my-zsh plugin.
#
#
#Alias
alias
gf
=
'git flow'
alias
gcd
=
'git checkout develop'
alias
gch
=
'git checkout hotfix'
alias
gcr
=
'git checkout release'
_git-flow
()
_git-flow
()
{
{
local
curcontext
=
"
$curcontext
"
state line
local
curcontext
=
"
$curcontext
"
state line
...
...
plugins/git/git.plugin.zsh
View file @
ac58ffdf
...
@@ -54,9 +54,9 @@ compdef gcount=git
...
@@ -54,9 +54,9 @@ compdef gcount=git
alias
gcl
=
'git config --list'
alias
gcl
=
'git config --list'
alias
gcp
=
'git cherry-pick'
alias
gcp
=
'git cherry-pick'
compdef _git
gcp
=
git-cherry-pick
compdef _git
gcp
=
git-cherry-pick
alias
glg
=
'git log --stat --max-count=
5
'
alias
glg
=
'git log --stat --max-count=
10
'
compdef _git
glg
=
git-log
compdef _git
glg
=
git-log
alias
glgg
=
'git log --graph --max-count=
5
'
alias
glgg
=
'git log --graph --max-count=
10
'
compdef _git
glgg
=
git-log
compdef _git
glgg
=
git-log
alias
glgga
=
'git log --graph --decorate --all'
alias
glgga
=
'git log --graph --decorate --all'
compdef _git
glgga
=
git-log
compdef _git
glgga
=
git-log
...
@@ -72,7 +72,10 @@ alias grh='git reset HEAD'
...
@@ -72,7 +72,10 @@ alias grh='git reset HEAD'
alias
grhh
=
'git reset HEAD --hard'
alias
grhh
=
'git reset HEAD --hard'
alias
gclean
=
'git reset --hard && git clean -dfx'
alias
gclean
=
'git reset --hard && git clean -dfx'
alias
gwc
=
'git whatchanged -p --abbrev-commit --pretty=medium'
alias
gwc
=
'git whatchanged -p --abbrev-commit --pretty=medium'
alias
gf
=
'git ls-files | grep'
#remove the gf alias
#alias gf='git ls-files | grep'
alias
gpoat
=
'git push origin --all && git push origin --tags'
alias
gpoat
=
'git push origin --all && git push origin --tags'
alias
gmt
=
'git mergetool --no-prompt'
alias
gmt
=
'git mergetool --no-prompt'
compdef _git
gm
=
git-mergetool
compdef _git
gm
=
git-mergetool
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment