From 066fbbef78749a97a4b2285654c79a64c7255828 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 29 Jul 2014 13:08:35 +0200 Subject: zsh: set LS_COLORS, remove ,, alias --- zsh/.zprofile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'zsh/.zprofile') diff --git a/zsh/.zprofile b/zsh/.zprofile index c8d73c3..d224f58 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -33,4 +33,9 @@ export GTK_IM_MODULE=xim export SUDO_PROMPT=$'\e[31mSUDO\e[m password for \e[34m%p\e[m: ' -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx "$HOME/.config/X11/xinitrc" +# LS_COLORS is now required for `ls` to use colour +eval "$(dircolors -b ~/.config/dircolors)" + +if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx "$HOME/.config/X11/xinitrc" +fi -- cgit v1.2.3-70-g09d2