From 19499dee98b7e91ad82234565a43f291ade9835a Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Tue, 17 Jan 2017 20:15:45 +0100 Subject: [PATCH] Clean up .bashrc Signed-off-by: Severin Kaderli --- .bashrc | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/.bashrc b/.bashrc index 3aeccb1..89393e4 100644 --- a/.bashrc +++ b/.bashrc @@ -1,13 +1,3 @@ -# ~/.bashrc: executed by bash(1) for non-login shells. -# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) -# for examples - -# If not running interactively, don't do anything -#case $- in -# *i*) ;; -# *) return;; -#esac - # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth @@ -67,36 +57,13 @@ else fi unset color_prompt force_color_prompt -# If this is an xterm set the title to user@host:dir -case "$TERM" in -xterm*|rxvt*) - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h \w\a\]$PS1" - ;; -*) - ;; -esac - # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r $HOME/.dircolors && eval "$(dircolors -b $HOME/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' alias grep='grep --color=auto' - alias fgrep='fgrep --color=auto' - alias egrep='egrep --color=auto' fi -# colored GCC warnings and errors -#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' - -# some more ls aliases -alias ll='ls -alF' -alias la='ls -A' -alias l='ls -CF' - -# Add an "alert" alias for long running commands. Use like so: -# sleep 10; alert -alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' - # Sourcing alias definitions if [ -f $HOME/.aliases ]; then . $HOME/.aliases @@ -126,6 +93,3 @@ fi if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:/opt/Hyper:$PATH" fi - -# Add SDL support for the WiiU-Gamecube-Adapter -export SDL_GAMECONTROLLERCONFIG="0300000057696920552047616d654300,Wii U GameCube Adapter Port 1,platform:Linux,x:b3,a:b0,b:b1,y:b2,start:b7,dpleft:b10,dpdown:b9,dpright:b11,dpup:b8,lefttrigger:a2,rightshoulder:b6,righttrigger:a5,leftx:a0,lefty:a1,rightx:a3,righty:a4,"