updates
This commit is contained in:
parent
371ba36437
commit
d4c8ac2e63
10
zsh/.aliasrc
10
zsh/.aliasrc
@ -18,6 +18,16 @@ alias_list=(
|
|||||||
gs='git show --pretty=short'
|
gs='git show --pretty=short'
|
||||||
gst='git status --short'
|
gst='git status --short'
|
||||||
)
|
)
|
||||||
|
gc() {
|
||||||
|
git add --all
|
||||||
|
if [ -n "$1" ]
|
||||||
|
then
|
||||||
|
git commit --all --message "$1"
|
||||||
|
else
|
||||||
|
git commit -m update
|
||||||
|
fi
|
||||||
|
git push --verbose
|
||||||
|
}
|
||||||
|
|
||||||
for alias_def in "${alias_list[@]}"; do
|
for alias_def in "${alias_list[@]}"; do
|
||||||
alias $alias_def
|
alias $alias_def
|
||||||
|
@ -51,6 +51,7 @@ setopt hist_ignore_dups
|
|||||||
setopt hist_find_no_dups
|
setopt hist_find_no_dups
|
||||||
setopt inc_append_history
|
setopt inc_append_history
|
||||||
setopt share_history
|
setopt share_history
|
||||||
|
setopt auto_cd
|
||||||
|
|
||||||
# Completion styling
|
# Completion styling
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||||
|
Loading…
Reference in New Issue
Block a user