dotwryn/bash/rc

41 lines
960 B
Plaintext
Raw Normal View History

#!/bin/bash
DOTWRYN="$HOME/.wryn"
RC_DIR="$DOTWRYN/bash"
2019-04-16 15:54:31 +00:00
source "$HOME/.my_bash_env"
# source .wryn/bash files
for file in $(find $RC_DIR -maxdepth 1 -type f ! -name 'rc'); do source $file; done;
# osx
if [[ "$OSTYPE" == "darwin"* ]]; then
for file in $(find $RC_DIR/osx -type f); do source $file; done;
fi
# linux
if [[ "$OSTYPE" == "linux-gnu" ]]; then
for file in $(find $RC_DIR/linux -type f); do source $file; done;
fi
2019-04-04 22:03:35 +00:00
# --- ViM as default editor -----------------------------------
export EDITOR='vim'
export VISUAL='vim'
2019-04-16 15:42:44 +00:00
# --- Welcome message -----------------------------------------
2019-04-17 02:29:03 +00:00
exec figlet "Welcome, beautiful" | lolcat; echo; cowsay -p "damn u sexy" | lolcat;
2019-04-04 22:03:35 +00:00
alias restart='clear; source ~/.bashrc; echo'
2019-06-07 22:13:32 +00:00
# --- !@#$ Aliases --------------------------------------------
alias clera='clear';
alias sl='sl -alF | lolcat';
# --- BASH RC DEPENDENCIES ------------------------------------
# sl
# lolcat
# figlet
# fortune
# vim
# cowsay