diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-08-17 13:47:38 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-08-17 13:47:38 +0200 |
commit | 51e6f7f2f272bb1116aa8087fd401953175f0329 (patch) | |
tree | 0847ac08ddb896368bc6c1efa32f1f1b90e43c96 | |
parent | 638fed0941419b866bdd3bc070d1258b40d1b846 (diff) | |
download | dotfiles-51e6f7f2f272bb1116aa8087fd401953175f0329.tar.gz |
bashit
-rw-r--r-- | .bash_profile | 12 | ||||
-rw-r--r-- | .bashrc | 74 | ||||
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | bash-it | 0 | ||||
-rwxr-xr-x | install.sh | 5 |
5 files changed, 74 insertions, 20 deletions
diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..038dfd2 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,12 @@ +# +# ~/.bash_profile +# + +alias vim=nvim + +export EDITOR=nvim +export VISUAL=nvim + +PATH=~/bin:$PATH + +[[ -f ~/.bashrc ]] && . ~/.bashrc @@ -1,26 +1,62 @@ -# -# ~/.bashrc -# +#!/usr/bin/env bash # If not running interactively, don't do anything -[[ $- != *i* ]] && return +case $- in + *i*) ;; + *) return;; +esac -# If running in xterm set transparency -#[ -n "$XTERM_VERSION" ] && transset-df --id "$WINDOWID" >/dev/null -#MOVED TO COMPTON CONF +# Path to the bash it configuration +export BASH_IT="/home/jonas/vimconfig/bash-it" -alias vim=nvim +# Lock and Load a custom theme file. +# Leave empty to disable theming. +# location /.bash_it/themes/ +export BASH_IT_THEME='bobby' -export EDITOR=nvim -export VISUAL=nvim +# (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' -alias ls='ls --color=auto' -PS1='[\u@\h \W]\$ ' +# Your place for hosting Git repos. I use this for private repos. +export GIT_HOSTING='git@git.domain.com' -if [ -n "$XTERM_VERSION" ] -then - powerline-daemon -q - POWERLINE_BASH_CONTINUATION=1 - POWERLINE_BASH_SELECT=1 - . /usr/share/powerline/bindings/bash/powerline.sh -fi +# 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/.gitmodules b/.gitmodules index 582eadc..9d0a4ca 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule ".vim/bundle/Conque-shell"] path = .vim/bundle/Conque-shell url = https://github.com/vim-scripts/Conque-Shell.git +[submodule "bash-it"] + path = bash-it + url = https://github.com/Bash-it/bash-it.git diff --git a/bash-it b/bash-it new file mode 160000 +Subproject 629ab9fce66f66316e7f6c596e06d7ad987b36d @@ -5,11 +5,14 @@ # xterm fo default terminal #Configs for home dir -MODULES=(.i3 .vim .xinitrc .compton.conf .bashrc .Xresources .radare2rc) +MODULES=(.i3 .vim .xinitrc .compton.conf .bashrc .Xresources .radare2rc .bash_profile) #Configs for .config CFGFOLDER=(polybar powerline nvim) +#Scripts +SCRIPTS=() + #1: message yes_no() { |