aboutsummaryrefslogtreecommitdiff
path: root/shell/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'shell/zsh')
-rw-r--r--shell/zsh/.zshrc8
-rw-r--r--shell/zsh/zsh-git-prompt/zshrc.sh10
2 files changed, 12 insertions, 6 deletions
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc
index 6d0d4ef..949f913 100644
--- a/shell/zsh/.zshrc
+++ b/shell/zsh/.zshrc
@@ -8,5 +8,11 @@ autoload -Uz compinit
compinit
. ~/.dotfiles/shell/zsh/zsh-git-prompt/zshrc.sh
-
PROMPT='[%F{green}%n%f@%m %F{green}%~%f $(git_super_status)]$ '
+
+. /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+. /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+. /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh
+
+bindkey '^[[A' history-substring-search-up
+bindkey '^[[B' history-substring-search-down
diff --git a/shell/zsh/zsh-git-prompt/zshrc.sh b/shell/zsh/zsh-git-prompt/zshrc.sh
index d4010c1..901df64 100644
--- a/shell/zsh/zsh-git-prompt/zshrc.sh
+++ b/shell/zsh/zsh-git-prompt/zshrc.sh
@@ -97,11 +97,11 @@ ZSH_THEME_GIT_PROMPT_PREFIX="("
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
ZSH_THEME_GIT_PROMPT_SEPARATOR="|"
ZSH_THEME_GIT_PROMPT_BRANCH="%{$fg_bold[magenta]%}"
-ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[red]%}%{●%G%}"
-ZSH_THEME_GIT_PROMPT_CONFLICTS="%{$fg[red]%}%{✖%G%}"
-ZSH_THEME_GIT_PROMPT_CHANGED="%{$fg[blue]%}%{✚%G%}"
-ZSH_THEME_GIT_PROMPT_BEHIND="%{↓%G%}"
-ZSH_THEME_GIT_PROMPT_AHEAD="%{↑%G%}"
+ZSH_THEME_GIT_PROMPT_STAGED="%{$fg[red]%}%{● %G%}"
+ZSH_THEME_GIT_PROMPT_CONFLICTS="%{$fg[red]%}%{✖ %G%}"
+ZSH_THEME_GIT_PROMPT_CHANGED="%{$fg[blue]%}%{✚ %G%}"
+ZSH_THEME_GIT_PROMPT_BEHIND="%{↓ %G%}"
+ZSH_THEME_GIT_PROMPT_AHEAD="%{↑ %G%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{…%G%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}%{✔%G%}"