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 From 54697444ad9f341f8e4b4e440c56a5f8af505e65 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Thu, 27 Feb 2020 12:17:41 +0100 Subject: zsh: Add rsync alias --- dot.zshrc.local | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dot.zshrc.local') diff --git a/dot.zshrc.local b/dot.zshrc.local index ee8d456..13d722f 100644 --- a/dot.zshrc.local +++ b/dot.zshrc.local @@ -13,6 +13,9 @@ if (( $+commands[exa] )); then alias l="exa -l --git" alias la="exa -la --git" fi +if (( $+commands[rsync] )); then + alias rs="rsync -vahPi" +fi zstyle :prompt:grml:left:items:percent pre $'\n' gpg-connect-agent /bye ssh-add -l -- cgit v1.2.3 From d9b0575af92aebb084e481491e6f34fef474c4fe Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Tue, 7 Apr 2020 13:47:49 +0200 Subject: zsh: Disable chg It turned out to be slower. --- dot.zshrc.local | 1 - 1 file changed, 1 deletion(-) (limited to 'dot.zshrc.local') diff --git a/dot.zshrc.local b/dot.zshrc.local index 13d722f..7d6c93a 100644 --- a/dot.zshrc.local +++ b/dot.zshrc.local @@ -2,7 +2,6 @@ zstyle :prompt:grml:right:setup use-rprompt false . ~/.zshrc.from_grml (( $+commands[bsdtar] )) && alias tar=bsdtar -(( $+commands[chg] )) && alias hg=chg (( $+commands[nvim] )) && alias vim=nvim alias g=git alias ec="emacsclient -n" -- cgit v1.2.3 From ddadb27ed3e68c31b4b23fbc163d90db319d6fbf Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Tue, 7 Apr 2020 13:48:11 +0200 Subject: zsh: Show groups in l/la using exa --- dot.zshrc.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dot.zshrc.local') diff --git a/dot.zshrc.local b/dot.zshrc.local index 7d6c93a..8dd9652 100644 --- a/dot.zshrc.local +++ b/dot.zshrc.local @@ -9,8 +9,8 @@ alias et="emacsclient -t" alias hl="highlight -O ansi" if (( $+commands[exa] )); then alias ls="exa" - alias l="exa -l --git" - alias la="exa -la --git" + alias l="exa -g -l --git" + alias la="exa -g -la --git" fi if (( $+commands[rsync] )); then alias rs="rsync -vahPi" -- cgit v1.2.3