zsh basic
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
|||||||
|
# ~/.zshrc
|
||||||
|
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
HISTFILE=~/.zsh_history
|
||||||
|
|
||||||
|
setopt autocd
|
||||||
|
setopt correct
|
||||||
|
setopt extendedglob
|
||||||
|
setopt nomatch
|
||||||
|
|
||||||
|
PROMPT='%F{green}%n@%m%f:%F{blue}%~%f %# '
|
||||||
|
|
||||||
|
alias ll='ls -lh'
|
||||||
|
alias la='ls -lha'
|
||||||
|
alias gs='git status'
|
||||||
|
alias v='nvim'
|
||||||
|
|
||||||
|
[ -f ~/.zshrc.local ] && source ~/.zshrc.local
|
||||||
|
|
||||||
Reference in New Issue
Block a user