From 972d6f5e163c6e13c11be749601bb2701ee7d0ae Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 24 Mar 2020 17:46:26 +0100 Subject: removed bashit --- aliases.bash | 3 --- bash-it | 1 - bashit_bash_profile | 13 ---------- bashit_bashrc | 71 ----------------------------------------------------- theme.bash | 26 -------------------- 5 files changed, 114 deletions(-) delete mode 100644 aliases.bash delete mode 160000 bash-it delete mode 100644 bashit_bash_profile delete mode 100644 bashit_bashrc delete mode 100644 theme.bash diff --git a/aliases.bash b/aliases.bash deleted file mode 100644 index 8f0e032..0000000 --- a/aliases.bash +++ /dev/null @@ -1,3 +0,0 @@ -alias ls="ls --color" -alias vim="nvim" -alias ssh="TERM=xterm-color ssh" diff --git a/bash-it b/bash-it deleted file mode 160000 index bf5dd87..0000000 --- a/bash-it +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bf5dd87f337dac0ca5346d53733850b3e21055d1 diff --git a/bashit_bash_profile b/bashit_bash_profile deleted file mode 100644 index 5f73e6a..0000000 --- a/bashit_bash_profile +++ /dev/null @@ -1,13 +0,0 @@ -# -# ~/.bash_profile -# - -alias vim=nvim - -export EDITOR=nvim -export VISUAL=nvim - -PATH=~/bin:$PATH -[[ -f ~/.files ]] && source ~/.files && PATH="$DOTFILEBASE/scripts:$PATH" - -[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/bashit_bashrc b/bashit_bashrc deleted file mode 100644 index 119272d..0000000 --- a/bashit_bashrc +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/env bash - -# If not running interactively, don't do anything -case $- in - *i*) ;; - *) return;; -esac - -if [ -e ".files" ] -then - source .files -else - DOTFILEBASE="/home/jonas/vimconfig" -fi - -export BASH_IT_CUSTOM=$DOTFILEBASE - -# 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 diff --git a/theme.bash b/theme.bash deleted file mode 100644 index 648dfb6..0000000 --- a/theme.bash +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash -SCM_THEME_PROMPT_DIRTY=" ${red}✗" -SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" -SCM_THEME_PROMPT_PREFIX=" |" -SCM_THEME_PROMPT_SUFFIX="${green}|" - -GIT_THEME_PROMPT_DIRTY=" ${red}✗" -GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" -GIT_THEME_PROMPT_PREFIX=" ${green}|" -GIT_THEME_PROMPT_SUFFIX="${green}|" - -RVM_THEME_PROMPT_PREFIX="|" -RVM_THEME_PROMPT_SUFFIX="|" - -function prompt_command() { - #PS1="${bold_cyan}$(scm_char)${green}$(scm_prompt_info)${purple}$(ruby_version_prompt) ${yellow}\h ${reset_color}in ${green}\w ${reset_color}\n${green}→${reset_color} " - #PS1="\n${purple}\h: ${reset_color} ${green}\w\n${bold_cyan}$(scm_char)${green}$(scm_prompt_info) ${green}→${reset_color} " - #PS1="\n${cyan}\h: ${reset_color} ${yellow}\w\n${red}$(scm_char)${red}$(scm_prompt_info) ${green}→${reset_color} " - local EXIT="$?" - if [ $EXIT -eq 0 ]; then - EXIT="" - fi - PS1="\n${cyan}\h:$(virtualenv_prompt) ${reset_color} ${yellow}\w ${green}$(scm_prompt_info)\n${red}${EXIT} ${reset_color}→ " -} - -safe_append_prompt_command prompt_command -- cgit v1.2.3