bashrc & zshrc: add aliases to prefer curl in fedora utils & install fedora utils

This commit is contained in:
Mika Suomalainen 2013-01-19 11:21:31 +02:00
parent 6d0dd3736a
commit f01c4e46e0
2 changed files with 8 additions and 0 deletions

4
bashrc
View File

@ -414,6 +414,10 @@ alias currenttargets="systemctl list-units --type=target"
alias telsystemd="systemctl isolate "
alias defaulttarget="systemctl enable "
# Fedora Utils http://satya164.github.com/fedorautils/
alias fedorautils="\fedorautils -c"
alias fedorautils-install='su -c "curl http://download.opensuse.org/repositories/home:/satya164:/zenity/Fedora_17/home:satya164:zenity.repo -o /etc/yum.repos.d/zenity.repo && yum update zenity"'
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

4
zshrc
View File

@ -372,6 +372,10 @@ alias less="less -R "
# "su -" with sudo
alias ssu="sudo -i "
# Fedora Utils http://satya164.github.com/fedorautils/
alias fedorautils="\fedorautils -c"
alias fedorautils-install='su -c "curl http://download.opensuse.org/repositories/home:/satya164:/zenity/Fedora_17/home:satya164:zenity.repo -o /etc/yum.repos.d/zenity.repo && yum update zenity"'
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases