mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
bashrc & zshrc: add aliases to prefer curl in fedora utils & install fedora utils
This commit is contained in:
parent
6d0dd3736a
commit
f01c4e46e0
4
bashrc
4
bashrc
@ -414,6 +414,10 @@ alias currenttargets="systemctl list-units --type=target"
|
|||||||
alias telsystemd="systemctl isolate "
|
alias telsystemd="systemctl isolate "
|
||||||
alias defaulttarget="systemctl enable "
|
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 .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
4
zshrc
4
zshrc
@ -372,6 +372,10 @@ alias less="less -R "
|
|||||||
# "su -" with sudo
|
# "su -" with sudo
|
||||||
alias ssu="sudo -i "
|
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
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user