aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-02-26 13:48:33 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-02-26 13:48:33 +0100
commit178ffef0226b45ad4b1862c7e9223cd539788bcc (patch)
tree765e23862f50479dd48ab312f6cb9aa0fa202a86 /.bashrc
parent724bb024d49f2883c186e80a016abd9b956bba96 (diff)
downloaddotfiles-178ffef0226b45ad4b1862c7e9223cd539788bcc.tar.gz
removed bashit
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc71
1 files changed, 7 insertions, 64 deletions
diff --git a/.bashrc b/.bashrc
index 119272d..8589f82 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,71 +1,14 @@
#!/usr/bin/env bash
-# If not running interactively, don't do anything
-case $- in
- *i*) ;;
- *) return;;
-esac
+#Light and fancy bash
-if [ -e ".files" ]
-then
- source .files
+if [[ -f "$HOME/.files" ]]; then
+ source "$HOME/.files"
else
- DOTFILEBASE="/home/jonas/vimconfig"
+ DOTFILEBASE="/home/jonas/dotfiles"
fi
-export BASH_IT_CUSTOM=$DOTFILEBASE
+for f in $DOTFILEBASE/bash/*.bash; do
+ source $f
+done
-# Path to the bash it configuration
-export BASH_IT="$DOTFILEBASE/bash-it"
-
-# Lock and Load a custom theme file.
-# Leave empty to disable theming.
-# location /.bash_it/themes/
-export BASH_IT_THEME="$DOTFILEBASE/theme.bash"
-
-# (Advanced): Change this to the name of your remote repo if you
-# cloned bash-it with a remote other than origin such as `bash-it`.
-# export BASH_IT_REMOTE='bash-it'
-
-# Your place for hosting Git repos. I use this for private repos.
-export GIT_HOSTING='git@git.domain.com'
-
-# Don't check mail when opening terminal.
-unset MAILCHECK
-
-# Change this to your console based IRC client of choice.
-export IRC_CLIENT='irssi'
-
-# Set this to the command you use for todo.txt-cli
-export TODO="t"
-
-# Set this to false to turn off version control status checking within the prompt for all themes
-export SCM_CHECK=true
-
-# Set Xterm/screen/Tmux title with only a short hostname.
-# Uncomment this (or set SHORT_HOSTNAME to something else),
-# Will otherwise fall back on $HOSTNAME.
-#export SHORT_HOSTNAME=$(hostname -s)
-
-# Set Xterm/screen/Tmux title with only a short username.
-# Uncomment this (or set SHORT_USER to something else),
-# Will otherwise fall back on $USER.
-#export SHORT_USER=${USER:0:8}
-
-# Set Xterm/screen/Tmux title with shortened command and directory.
-# Uncomment this to set.
-#export SHORT_TERM_LINE=true
-
-# Set vcprompt executable path for scm advance info in prompt (demula theme)
-# https://github.com/djl/vcprompt
-#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt
-
-# (Advanced): Uncomment this to make Bash-it reload itself automatically
-# after enabling or disabling aliases, plugins, and completions.
-# export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1
-
-# Uncomment this to make Bash-it create alias reload.
-# export BASH_IT_RELOAD_LEGACY=1
-
-# Load Bash It
-source "$BASH_IT"/bash_it.sh