aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2020-02-12 10:29:06 +0100
committerThomas Schneider <qsx@chaotikum.eu>2020-02-12 10:29:50 +0100
commitd393a59dd34a1eb1c519cc722aab082fa2f36f11 (patch)
treee90a7d8f1a580e4596729e3b2b97e7b1b2c5f14b
parenta6e39c04a7cd31dc9db5018455fa286284ee84ac (diff)
zsh: Disable rprompt, alias ls to exa
-rw-r--r--dot.zshrc.local9
1 files changed, 7 insertions, 2 deletions
diff --git a/dot.zshrc.local b/dot.zshrc.local
index a1a4456..ee8d456 100644
--- a/dot.zshrc.local
+++ b/dot.zshrc.local
@@ -1,4 +1,5 @@
# -*- shell-script -*-
+zstyle :prompt:grml:right:setup use-rprompt false
. ~/.zshrc.from_grml
(( $+commands[bsdtar] )) && alias tar=bsdtar
(( $+commands[chg] )) && alias hg=chg
@@ -7,8 +8,12 @@ alias g=git
alias ec="emacsclient -n"
alias et="emacsclient -t"
alias hl="highlight -O ansi"
-zstyle :prompt:grml:left:items:percent pre '
-'
+if (( $+commands[exa] )); then
+ alias ls="exa"
+ alias l="exa -l --git"
+ alias la="exa -la --git"
+fi
+zstyle :prompt:grml:left:items:percent pre $'\n'
gpg-connect-agent /bye
ssh-add -l
function countdown {