From 51609a362afdee1b6b49aaaaece3cfe1e459c920 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 13 Dec 2011 01:51:28 +1300 Subject: Versioning bash is just a bad idea I think. --- bash/bash_aliases | 7 ------- bash/bash_logout | 7 ------- bash/bashrc | 44 -------------------------------------------- bash/profile | 23 ----------------------- 4 files changed, 81 deletions(-) delete mode 100644 bash/bash_aliases delete mode 100644 bash/bash_logout delete mode 100644 bash/bashrc delete mode 100644 bash/profile (limited to 'bash') diff --git a/bash/bash_aliases b/bash/bash_aliases deleted file mode 100644 index bdf54563..00000000 --- a/bash/bash_aliases +++ /dev/null @@ -1,7 +0,0 @@ -if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls --color=auto' - alias grep='grep --color=auto' -fi -alias screen='screen -U' - diff --git a/bash/bash_logout b/bash/bash_logout deleted file mode 100644 index de4f5f75..00000000 --- a/bash/bash_logout +++ /dev/null @@ -1,7 +0,0 @@ -# ~/.bash_logout: executed by bash(1) when login shell exits. - -# when leaving the console clear the screen to increase privacy - -if [ "$SHLVL" = 1 ]; then - [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q -fi diff --git a/bash/bashrc b/bash/bashrc deleted file mode 100644 index 29a08a0c..00000000 --- a/bash/bashrc +++ /dev/null @@ -1,44 +0,0 @@ -# Only if interactive -[ -z "$PS1" ] && return - -# Append to history, no duplicate lines -shopt -s histappend -HISTCONTROL=ignoreboth - -# Recheck window size after each command -shopt -s checkwinsize - -# Current root/chroot -if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then - debian_chroot=$(cat /etc/debian_chroot) -fi - -# Set xterm title -case "$TERM" in -xterm*|rxvt*) - PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" - ;; -*) - ;; -esac - -# Set xterm colors -case "$TERM" in -xterm*) - TERM=xterm-256color - export TERM - ;; -*) - ;; -esac - -# Aliases -if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases -fi - -# Auto completion -if [ -f /etc/bash_completion ] && ! shopt -oq posix; then - . /etc/bash_completion -fi - diff --git a/bash/profile b/bash/profile deleted file mode 100644 index 93bbc73e..00000000 --- a/bash/profile +++ /dev/null @@ -1,23 +0,0 @@ -# ~/.profile: executed by the command interpreter for login shells. -# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login -# exists. -# see /usr/share/doc/bash/examples/startup-files for examples. -# the files are located in the bash-doc package. - -# the default umask is set in /etc/profile; for setting the umask -# for ssh logins, install and configure the libpam-umask package. -#umask 022 - -# if running bash -if [ -n "$BASH_VERSION" ]; then - # include .bashrc if it exists - if [ -f "$HOME/.bashrc" ]; then - . "$HOME/.bashrc" - fi -fi - -# set PATH so it includes user's private bin if it exists -if [ -d "$HOME/bin" ] ; then - PATH="$HOME/bin:$PATH" -fi - -- cgit v1.2.3