diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2011-12-13 01:51:28 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2011-12-13 01:51:28 +1300 |
commit | 51609a362afdee1b6b49aaaaece3cfe1e459c920 (patch) | |
tree | 0175d8362ac14d1ea3a61906c92312bf8d907c74 /bash | |
parent | Not using submodules anymore. (diff) | |
download | dotfiles-51609a362afdee1b6b49aaaaece3cfe1e459c920.tar.gz dotfiles-51609a362afdee1b6b49aaaaece3cfe1e459c920.zip |
Versioning bash is just a bad idea I think.
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bash_aliases | 7 | ||||
-rw-r--r-- | bash/bash_logout | 7 | ||||
-rw-r--r-- | bash/bashrc | 44 | ||||
-rw-r--r-- | bash/profile | 23 |
4 files changed, 0 insertions, 81 deletions
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 - |