Added Ansible aliases, git svn aliases, and vi editing mode.
This commit is contained in:
@@ -31,6 +31,8 @@ alias gs='git status'
|
|||||||
alias gc='git commit'
|
alias gc='git commit'
|
||||||
alias gcam='git commit -am'
|
alias gcam='git commit -am'
|
||||||
alias gl='git log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit'
|
alias gl='git log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit'
|
||||||
|
alias gsd='git svn dcommit'
|
||||||
|
alias gsfr='git svn fetch && git svn rebase'
|
||||||
|
|
||||||
# Turn on Git autocomplete.
|
# Turn on Git autocomplete.
|
||||||
if [ -f ~/.git-completion.bash ]; then
|
if [ -f ~/.git-completion.bash ]; then
|
||||||
@@ -39,3 +41,7 @@ fi
|
|||||||
|
|
||||||
# Disable cowsay in Ansible.
|
# Disable cowsay in Ansible.
|
||||||
export ANSIBLE_NOCOWS=1
|
export ANSIBLE_NOCOWS=1
|
||||||
|
|
||||||
|
# Ansible aliases.
|
||||||
|
alias an='ansible'
|
||||||
|
alias anplay='ansible-playbook'
|
||||||
|
|||||||
@@ -3,4 +3,5 @@
|
|||||||
"\e[A": history-search-backward
|
"\e[A": history-search-backward
|
||||||
"\e[B": history-search-forward
|
"\e[B": history-search-forward
|
||||||
set show-all-if-ambiguous on
|
set show-all-if-ambiguous on
|
||||||
set completion-ignore-case on
|
set completion-ignore-case on
|
||||||
|
set editing-mode vi
|
||||||
|
|||||||
Reference in New Issue
Block a user