aboutsummaryrefslogtreecommitdiff
path: root/dot.zshrc.local
diff options
context:
space:
mode:
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