diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..8a2c04e --- /dev/null +++ b/zshrc @@ -0,0 +1,17 @@ +SAVEHIST=10000 # Save most-recent 1000 lines +HISTFILE=~/.zsh_history +setopt HIST_IGNORE_DUPS +setopt HIST_FIND_NO_DUPS +setopt HIST_REDUCE_BLANKS +setopt hist_verify + +export EDITOR=micro + +alias m="micro" +alias h="history 1" +alias hg="history 1 | grep " + +force_color_prompt=yes +autoload -U colors && colors +PS1="%{$fg[yellow]%}%n%{$reset_color%}@%{$fg[green]%}%m %{$fg[yellow]%}%(5~|%-1~/.../%3~|%4~) %{$reset_color%}% " +PS1="%{$fg[yellow]%}%n%{$reset_color%}@%{$fg[cyan]%}%m %{$fg[yellow]%}%(5~|%-1~/.../%3~|%4~) %{$reset_color%}% " \ No newline at end of file