From 51a7c9f79c41f73d1cff8e6fbfaaaaabaea1836c Mon Sep 17 00:00:00 2001 From: 135e2 <135e2@135e2.tk> Date: Fri, 6 Jan 2023 23:22:55 +0800 Subject: .zshrc: update to 20230106 - Import aliases from openSUSE /etc/zshrc --- .zshrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit v1.2.3