From d3acd191e0ac8e84bb4d8143c2dea77a7aadcc8f Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Fri, 28 Aug 2020 15:15:25 +0100 Subject: Change over to Zsh --- .config/bashrc | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 .config/bashrc (limited to '.config/bashrc') 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 -- cgit v1.2.3-13-gbd6f