mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 09:15:34 +00:00
Git stash alias
This commit is contained in:
parent
ee547a17ac
commit
a54305b837
12
zsh/.zshrc
12
zsh/.zshrc
@ -1,7 +1,3 @@
|
|||||||
HISTFILE=~/.zsh_history
|
|
||||||
HISTSIZE=99999999
|
|
||||||
SAVEHIST=99999999
|
|
||||||
|
|
||||||
autoload -Uz vcs_info
|
autoload -Uz vcs_info
|
||||||
precmd() { vcs_info }
|
precmd() { vcs_info }
|
||||||
zstyle ':vcs_info:git:*' formats '%b '
|
zstyle ':vcs_info:git:*' formats '%b '
|
||||||
@ -16,6 +12,11 @@ zstyle :compinstall filename '~/.zshrc'
|
|||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
HISTSIZE=99999999
|
||||||
|
SAVEHIST=99999999
|
||||||
|
|
||||||
|
|
||||||
# Text Editor
|
# Text Editor
|
||||||
alias emacs='emacs -nw'
|
alias emacs='emacs -nw'
|
||||||
alias e='emacs -nw'
|
alias e='emacs -nw'
|
||||||
@ -36,6 +37,9 @@ alias g='git'
|
|||||||
alias p='git pull'
|
alias p='git pull'
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias gd='git diff $(git rev-parse --abbrev-ref HEAD)'
|
alias gd='git diff $(git rev-parse --abbrev-ref HEAD)'
|
||||||
|
alias stash='git stash create; git stash push'
|
||||||
|
alias pop='git stash pop'
|
||||||
|
|
||||||
|
|
||||||
export TERM=xterm
|
export TERM=xterm
|
||||||
export EDITOR=emacs
|
export EDITOR=emacs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user