From 8e9691780cd9ca260e289380f030f5c3213126e9 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sat, 5 Sep 2020 16:08:24 +0200 Subject: Better zsh ls colors, and fish env --- fish/.config/fish/config.fish | 5 +++++ zsh-no-omzsh/.zshrc | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 6b6cb53..b2e7823 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -1,8 +1,13 @@ +# Todo list +cat $HOME/todo.txt # Vim stuff alias vim "nvim" set -x EDITOR nvim set -x SUDO_EDITOR nvim +# Other things +set -x TERM xterm-256color + # Path set -x PATH $PATH $HOME/go/bin 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' -- cgit v1.2.3