dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0b093b34d22d82d89d18c6524a31f4cfad148e73
parent 6170a547b9f5e68fd3727b2ef0547ad8398260fa
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  9 Oct 2019 13:23:53 +0200

Remove bash config

Diffstat:
D.bash_profile | 3---
D.bashrc | 43-------------------------------------------
2 files changed, 0 insertions(+), 46 deletions(-)

diff --git a/.bash_profile b/.bash_profile @@ -1,3 +0,0 @@ -#!/bin/bash -. ~/.profile -[ -f ~/.bashrc ] && . ~/.bashrc diff --git a/.bashrc b/.bashrc @@ -1,43 +0,0 @@ -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -# don't put duplicate lines in the history, and ignore lines with leading space -HISTCONTROL=ignoredups:ignorespace - -# append to the history file, don't overwrite it -shopt -s histappend - -# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=10000 -HISTFILESIZE=20000 - -# check the window size after each command and, if necessary, -# update the values of LINES and COLUMNS. -[[ $DISPLAY ]] && shopt -s checkwinsize - -export CLICOLOR=1 -export HISTTIMEFORMAT='%F %T ' - -# Set prompt appearance -PS1="\n" -[ "$USER" != "ad" ] && PS+="\u@" -[ "$HOSTNAME" != "idkfa" ] && PS+="\h " -PS1+="\w\$ " - -case ${TERM} in - xterm*|rxvt*|Eterm|aterm|kterm|gnome*) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' ;; - screen*) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' ;; -esac - -# shellcheck source=/dev/null -[ -r /usr/share/bash-completion/bash_completion ] && \ - . /usr/share/bash-completion/bash_completion || : - -[ -f /usr/share/fzf/key-bindings.bash ] && \ - . /usr/share/fzf/key-bindings.bash ] || : -[ -f /usr/share/doc/fzf/key-bindings.bash ] && \ - . /usr/share/doc/fzf/key-bindings.bash ] || : - -. ~/.config/sh/commands