aboutsummaryrefslogtreecommitdiff
path: root/dot.zshrc.local
diff options
context:
space:
mode:
authorThomas Schneider <qsx@chaotikum.eu>2024-09-11 21:52:27 +0200
committerThomas Schneider <qsx@chaotikum.eu>2024-09-11 21:52:27 +0200
commit3e1c65e72ed1391200aa6ad4471a0b8d3634ff78 (patch)
tree2875907d143ec2e64424cbe18e222e5943dd9031 /dot.zshrc.local
parent814a35d77d0bcd4cc3d8d577bb11cc1cc5519a37 (diff)
parent1d22be5e4469dd04dddd823ab3672dcbed591c4c (diff)
Merge remote-tracking branch 'refs/remotes/origin/main'
Diffstat (limited to 'dot.zshrc.local')
-rw-r--r--dot.zshrc.local10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot.zshrc.local b/dot.zshrc.local
index 19fb1f6..f48bf28 100644
--- a/dot.zshrc.local
+++ b/dot.zshrc.local
@@ -63,6 +63,11 @@ qsx_fix_vcs_info
# Reset terminal cursor
printf "\033[0 q"
}
+if ! (( $+commands[open] )) && (( $+commands[gio] )); then
+ function open {
+ gio open "$@" >/dev/null 2>/dev/null
+ }
+fi
alias g=git
alias ec="emacsclient -n"
alias et="emacsclient -t"
@@ -72,6 +77,11 @@ if (( $+commands[exa] )); then
alias l="exa -g -l --git"
alias la="exa -g -la --git"
fi
+if (( $+commands[eza] )); then
+ alias ls="eza"
+ alias l="eza -g -l --git"
+ alias la="eza -g -la --git"
+fi
if (( $+commands[rsync] )); then
alias rs="rsync -vahPi"
fi