summaryrefslogtreecommitdiff
path: root/zsh-no-omzsh
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-09-05 16:08:24 +0200
committerJulian T <julian@jtle.dk>2020-09-05 16:08:24 +0200
commit8e9691780cd9ca260e289380f030f5c3213126e9 (patch)
treed81f7264e22437fd4e7ed1d6efd184992ab1960c /zsh-no-omzsh
parentea494afb7828f8eaf88344427154a704642c8978 (diff)
Better zsh ls colors, and fish env
Diffstat (limited to 'zsh-no-omzsh')
-rw-r--r--zsh-no-omzsh/.zshrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/zsh-no-omzsh/.zshrc b/zsh-no-omzsh/.zshrc
index decf6b7..7523976 100644
--- a/zsh-no-omzsh/.zshrc
+++ b/zsh-no-omzsh/.zshrc
@@ -37,7 +37,7 @@ function git_info {
}
setopt PROMPT_SUBST
-PROMPT='%F{032}%~$(git_info)%F{032} %(!.#.>) %{$reset_color%}'
+PROMPT='%F{032}%~$(git_info)%F{032} %(!.#.>) %F{255}'
bindkey "^P" up-line-or-search
bindkey "^[[A" history-search-backward
@@ -50,6 +50,10 @@ export LANG=en_US.UTF-8
export TERM="xterm-256color"
export LSCOLORS="Gxfxcxdxbxegedabagacad"
+# Same colors for tab completion and ls
+eval "$(dircolors)"
+zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
+
alias vim="nvim"
alias ls='ls --color=auto'