Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
ed85147e
Commit
ed85147e
authored
Nov 07, 2017
by
Mahmoud Hossam
Committed by
Robby Russell
Nov 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename clashing ag alias (#5849)
* Fix ubuntu ag alias clashing with the silver searcher * Add aliases for git apply and git merge --abort
parent
5486aa21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
git.plugin.zsh
plugins/git/git.plugin.zsh
+2
-0
ubuntu.plugin.zsh
plugins/ubuntu/ubuntu.plugin.zsh
+2
-2
No files found.
plugins/git/git.plugin.zsh
View file @
ed85147e
...
...
@@ -44,6 +44,7 @@ alias ga='git add'
alias
gaa
=
'git add --all'
alias
gapa
=
'git add --patch'
alias
gau
=
'git add --update'
alias
gap
=
'git apply'
alias
gb
=
'git branch'
alias
gba
=
'git branch -a'
...
...
@@ -191,6 +192,7 @@ alias gmom='git merge origin/master'
alias
gmt
=
'git mergetool --no-prompt'
alias
gmtvim
=
'git mergetool --no-prompt --tool=vimdiff'
alias
gmum
=
'git merge upstream/master'
alias
gma
=
'git merge --abort'
alias
gp
=
'git push'
alias
gpd
=
'git push --dry-run'
...
...
plugins/ubuntu/ubuntu.plugin.zsh
View file @
ed85147e
...
...
@@ -28,7 +28,7 @@ compdef _afu afu='sudo apt-file update'
alias
ppap
=
'sudo ppa-purge'
compdef _ppap
ppap
=
'sudo ppa-purge'
alias
ag
=
'sudo apt-get'
# age - but without sudo
alias
a
p
g
=
'sudo apt-get'
# age - but without sudo
alias
aga
=
'sudo apt-get autoclean'
# aac
alias
agb
=
'sudo apt-get build-dep'
# abd
alias
agc
=
'sudo apt-get clean'
# adc
...
...
@@ -42,7 +42,7 @@ alias agug='sudo apt-get upgrade' # ag
alias
aguu
=
'sudo apt-get update && sudo apt-get upgrade'
#adg
alias
agar
=
'sudo apt-get autoremove'
compdef _ag
ag
=
'sudo apt-get'
compdef _ag
a
p
g
=
'sudo apt-get'
compdef _aga
aga
=
'sudo apt-get autoclean'
compdef _agb
agb
=
'sudo apt-get build-dep'
compdef _agc
agc
=
'sudo apt-get clean'
...
...
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