summaryrefslogtreecommitdiff
path: root/.config/bashrc
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-08-28 15:15:25 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-08-28 15:15:25 +0100
commitd3acd191e0ac8e84bb4d8143c2dea77a7aadcc8f (patch)
tree7b992b65884ae92630128282c762e4141bcce318 /.config/bashrc
parent27d3d523f7285d335a50575546dbed7f462777ed (diff)
Change over to Zsh
Diffstat (limited to '.config/bashrc')
-rw-r--r--.config/bashrc46
1 files changed, 0 insertions, 46 deletions
diff --git a/.config/bashrc b/.config/bashrc
deleted file mode 100644
index 34328aa..0000000
--- a/.config/bashrc
+++ /dev/null
@@ -1,46 +0,0 @@
-#
-# ~/.bashrc
-#
-
-## If not running interactively, don't do anything.
-[[ $- != *i* ]] && return
-
-## Adds `~/.local/bin` to $PATH
-export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | paste -sd ':')"
-
-# Default programs.
-export EDITOR="nvim"
-export TERMINAL="st"
-export BROWSER="brave"
-
-## Keep the home directory tidy.
-export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_DATA_HOME="$HOME/.local/share"
-export XDG_CACHE_HOME="$HOME/.cache"
-
-# Configure bash history
-
-## Where the bash history file is saved
-HISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/bash_history"
-
-## 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
-
-## The number of commands to remember in the command history.
-HISTSIZE=1000
-
-## The maximum number of lines contained in the history file
-HISTFILESIZE=2000
-
-# Source extra files.
-
-## Load aliases if they exist.
-[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/aliasrc"
-
-## NVM
-export NVM_DIR="$HOME/.local/src/nvm"
-[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
-[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion