- 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:
parent
505177d58a
commit
e08f748d39
@ -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>
|
Wed Apr 8 06:04:06 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||||
|
|
||||||
|
20
zshrc
20
zshrc
@ -247,5 +247,25 @@ if [[ "$ZSHEDIT" == "emacs" ]] then
|
|||||||
bindkey "^^[[B" down-history
|
bindkey "^^[[B" down-history
|
||||||
fi
|
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
|
# Read custom system-wide config if exists
|
||||||
test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local
|
test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user