From f01c4e46e0e886098254f52eef35cf954d168a5b Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 19 Jan 2013 11:21:31 +0200 Subject: [PATCH] bashrc & zshrc: add aliases to prefer curl in fedora utils & install fedora utils --- bashrc | 4 ++++ zshrc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bashrc b/bashrc index 4ddb10e0..11cf9a81 100644 --- a/bashrc +++ b/bashrc @@ -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 diff --git a/zshrc b/zshrc index b1d47bf6..6a4aa633 100644 --- a/zshrc +++ b/zshrc @@ -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