dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit ff84ba96b385543d30dcc5fcd96858542a1a16c7
parent b2c809c1de3c60a6a4f2f472c09952b7d08c826e
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue,  2 Feb 2021 21:23:23 -0500

Remove bashrc

Diffstat:
D.bashrc | 86-------------------------------------------------------------------------------
1 file changed, 0 insertions(+), 86 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -1,86 +0,0 @@ -# ~/.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 - -# History Options -# Don't put duplicate lines or lines starting with space in the history -HISTCONTROL=ignoreboth -# Append to the history file, don't overwrite it -shopt -s histappend -# Set history length -HISTSIZE=10000 -HISTFILESIZE=20000 - -# Extra Bash Options -# Update LINES and COLUMNS if necessary after every command -shopt -s checkwinsize -# Match '**' pattern -shopt -s globstar - -# Detect colour support, enable colour prompt if yes -if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - color_prompt=yes -else - color_prompt= -fi - -PS1='[\t] \h \w $ ' - -# Enable color support of ls and also add handy aliases -if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" - alias ls='ls -vl --color=auto --group-directories-first' - alias grep='grep --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' - -# Alias definitions: -alias rm='rm -Iv --preserve-root' -alias mv='mv -iv' -alias cp='cp -iv' -alias tmux='tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf' -alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' -alias copy='xclip -sel c' -alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' -alias lpr='lpr -o fit-to-page -o two-sided-long-edge' -alias config='git --git-dir="$HOME"/docs/proj/dotfiles --work-tree="$HOME"' -alias units='units --history "$XDG_CACHE_HOME"/units_history' -alias poweroff='yay -Syu && doas poweroff' -alias reboot='yay -Syu && doas reboot' -alias spawn='st > /dev/null 2>&1 &' - -# Disable CTRL-S and CTRL-Q -stty -ixon - -# Enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). -if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - elif [ -f /etc/bash_completion ]; then - . /etc/bash_completion - fi -fi - -# Start tmux automatically (or attach to existing session) if: -# 1. This is an interactive shell -# 2. TERM variable does not indicate we are in a screen or tmux session already -# 3. The environment variable TMUX is not set -# 4. We are not on /dev/tty1 to allow X to start -# if [ -n "$PS1" ] && -# [ ! "$TERM" = "screen" ] && -# [ ! "$TERM" = "tmux" ] && -# [ -z "$TMUX" ] && -# [ $(tty) != "/dev/tty1" ]; then -# exec tmux -# fi -[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh