Bash (bashrc)

Arquivo de configuração do Bash

Categoria: Miscelânea

Software: Bash

[ Hits: 6.548 ]

Por: Perfil removido


Apenas meu bashrc com 3 alterações, além das que vieram no CL8.


# /etc/bashrc

# System-wide functions and aliases
# Environment configuration on /etc/profile

#PS1="[\u@\h \W]\\$ "
PS1="\[# /etc/bashrc

# System-wide functions and aliases
# Environment configuration on /etc/profile

#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"  

alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[5;40;32m\]\u\[# /etc/bashrc

# System-wide functions and aliases
# Environment configuration on /etc/profile

#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"  

alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[0;40;33m\]@\[# /etc/bashrc

# System-wide functions and aliases
# Environment configuration on /etc/profile

#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"  

alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[1;40;34m\]\h\[# /etc/bashrc

# System-wide functions and aliases
# Environment configuration on /etc/profile

#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"  

alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[0m\]\w\[# /etc/bashrc

# System-wide functions and aliases
# Environment configuration on /etc/profile

#PS1="[\u@\h \W]\\$ "
PS1="\[{CONTEUDO}33[5;40;32m\]\u\[{CONTEUDO}33[0;40;33m\]@\[{CONTEUDO}33[1;40;34m\]\h\[{CONTEUDO}33[0m\]\w\[{CONTEUDO}33[1;40;33m\]\\$\n"  

alias which="type -path"
alias l="ls -laF --color=auto"
alias ls="ls -la --color=auto"
alias m="minicom -s -con -L"
alias minicom="minicom -s -con -L"
alias tm="tail -f /var/log/messages"
alias tmm="tail -f /var/log/maillog"
alias tms="tail -f /var/log/secure"
alias cds="cd /etc/rc.d/init.d && ls"
alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls"
alias ufd="cd /mnt && umount floppy && ls"
alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy"
alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom"
alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1" 33[1;40;33m\]\\$\n"   alias which="type -path" alias l="ls -laF --color=auto" alias ls="ls -la --color=auto" alias m="minicom -s -con -L" alias minicom="minicom -s -con -L" alias tm="tail -f /var/log/messages" alias tmm="tail -f /var/log/maillog" alias tms="tail -f /var/log/secure" alias cds="cd /etc/rc.d/init.d && ls" alias fd="mount /dev/fd0 /mnt/floppy; cd /mnt/floppy && ls" alias ufd="cd /mnt && umount floppy && ls" alias ldir="mount /mnt/floppy && l /mnt/floppy && umount /mnt/floppy" alias cd1="mount -t iso9660 /dev/hdb /mnt/cdrom" alias cd2="mount -t iso9660 /dev/hdd /mnt/cdrom1"
  


Comentários
[1] Comentário enviado por RaiD_Zer0 em 10/03/2006 - 13:29h

Boa! Essas são as barbadinhas do shell do Conectiva! Viva o Linux, pessoal!


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts