# ~/.bashrc: Note: PS1 and umask are already set in /etc/profile. You should not # Colors YEL="\[\033[1;33m\]" ; WHT="\[\033[1;37m\]" ; GRN="\[\033[1;32m\]" ; RED="\[\033[1;31m\]" ; STD="\[\033[0;0m\]" # Prompt export PS1="${YEL}\u${WHT}@${GRN}\h${WHT} ${RED}\w ${WHT}> ${STD}" umask 022 export NCURSES_NO_UTF8_ACS=1 # You may uncomment the following lines if you want `ls' to be colorized: export LS_OPTIONS='--color=auto' eval "`dircolors`" alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' alias l='ls $LS_OPTIONS -lshA' # Some more alias to avoid making mistakes: # alias rm='rm -i' # alias cp='cp -i' # alias mv='mv -i' # History export HISTTIMEFORMAT="%Y.%m.%d %H:%M:%S " # history with date export HISTIGNORE="l*:ls*:ps*:cd*:history" # commands that not save # Alias: Allgemein alias dir='ls -la' alias cls='clear' alias log='tail -f /var/log/syslog' alias up='apt-get update && apt-get dist-upgrade' alias ports='netstat -tulpan' alias cup='apt-get autoremove && apt-get purge `dpkg -l | grep ^rc | awk "{print $2}"`' alias tastatur='dpkg-reconfigure locales'