summaryrefslogtreecommitdiff
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
parentea494afb7828f8eaf88344427154a704642c8978 (diff)
Better zsh ls colors, and fish env
-rw-r--r--fish/.config/fish/config.fish5
-rw-r--r--zsh-no-omzsh/.zshrc6
2 files changed, 10 insertions, 1 deletions
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'