From d393a59dd34a1eb1c519cc722aab082fa2f36f11 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Wed, 12 Feb 2020 10:29:06 +0100 Subject: zsh: Disable rprompt, alias ls to exa --- dot.zshrc.local | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dot.zshrc.local') 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 { -- cgit v1.2.3