Add scratch alias to zsh
This commit is contained in:
parent
ad9e0bf98a
commit
c09c6b85b6
1 changed files with 3 additions and 1 deletions
4
zshrc
4
zshrc
|
@ -3,6 +3,8 @@ export SAVEHIST=10000
|
||||||
export HISTFILESIZE=10000
|
export HISTFILESIZE=10000
|
||||||
export HISTSIZE=10000
|
export HISTSIZE=10000
|
||||||
|
|
||||||
|
alias scratch="scratch $SHELL"
|
||||||
|
|
||||||
alias hgrep='history 0 | grep '
|
alias hgrep='history 0 | grep '
|
||||||
setopt append_history
|
setopt append_history
|
||||||
setopt hist_find_no_dups
|
setopt hist_find_no_dups
|
||||||
|
@ -46,5 +48,5 @@ prompt() {
|
||||||
prompt $PROMPT_set
|
prompt $PROMPT_set
|
||||||
|
|
||||||
chpwd() {
|
chpwd() {
|
||||||
source smartprompt
|
source smartprompt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue