- Add aliases from /etc/bash.bashrc into /etc/zshrc so we don't

regress

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=221
This commit is contained in:
Ismail Dönmez 2020-04-15 09:06:05 +00:00 committed by Git OBS Bridge
parent 505177d58a
commit e08f748d39
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 15 09:02:14 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Add aliases from /etc/bash.bashrc into /etc/zshrc so we don't
regress
-------------------------------------------------------------------
Wed Apr 8 06:04:06 UTC 2020 - Ismail Dönmez <idonmez@suse.com>

20
zshrc
View File

@ -247,5 +247,25 @@ if [[ "$ZSHEDIT" == "emacs" ]] then
bindkey "^^[[B" down-history
fi
# Aliases exported from /etc/bash.bashrc
alias ..='cd ..'
alias ...='cd ../..'
alias beep='echo -en "\007"'
alias cd..='cd ..'
alias dir='ls -l'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l='ls -alF'
alias la='ls -la'
alias ll='ls -l'
alias ls-l='ls -l'
alias md='mkdir -p'
alias o=less
alias rd=rmdir
alias unmount='echo "Error: Try the command: umount" 1>&2; false'
alias which-command=whence
alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi'
# Read custom system-wide config if exists
test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local