summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author135e2 <[email protected]>2023-01-06 23:22:55 +0800
committer135e2 <[email protected]>2023-01-06 23:22:55 +0800
commit51a7c9f79c41f73d1cff8e6fbfaaaaabaea1836c (patch)
tree55e42b0a11c1c6a26ce37a0c2e17989bfdf47329
parenta124ac5b57db102f30ed46da556dd814b778ea2f (diff)
downloaddotfiles-51a7c9f79c41f73d1cff8e6fbfaaaaabaea1836c.tar.gz
dotfiles-51a7c9f79c41f73d1cff8e6fbfaaaaabaea1836c.tar.bz2
dotfiles-51a7c9f79c41f73d1cff8e6fbfaaaaabaea1836c.zip
.zshrc: update to 20230106
- Import aliases from openSUSE /etc/zshrc
-rw-r--r--.zshrc15
1 files changed, 15 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 9f8d535..8b84f2c 100644
--- a/.zshrc
+++ b/.zshrc
@@ -68,6 +68,21 @@ alias .....="cd ../../../.."
alias ~="cd ~" # `cd` is probably faster to type though
alias -- -="cd -"
+# From openSUSE /etc/zshrc
+alias beep='echo -en "\007"'
+alias dir='ls -l'
+alias fgrep='fgrep --color=auto'
+alias egrep='egrep --color=auto'
+alias grep='grep --color=auto'
+alias ip='ip --color=auto'
+alias l='ls -alF'
+alias la='ls -la'
+alias ll='ls -l'
+alias ls-l='ls -l'
+alias md='mkdir -p'
+alias rd='rmdir'
+alias unmount='echo "Error: Try the command: umount" 1>&2; false'
+
# Use exa instead
DISABLE_LS_COLORS=true
alias ls=exa