mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-01 20:09:13 +02:00
Need to work on install script
This commit is contained in:
commit
0fd6e855bf
14 changed files with 202 additions and 0 deletions
27
bashrc
Normal file
27
bashrc
Normal file
|
@ -0,0 +1,27 @@
|
|||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[ -z "$PS1" ] && return
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
BASHFOLDER=~/.bash_files
|
||||
if [ -d "$BASHFOLDER" ]; then
|
||||
for f in $BASHFOLDER/*.active;
|
||||
do
|
||||
source "$f";
|
||||
done
|
||||
else
|
||||
echo "BASHFOLDER (${BASHFOLDER}) Not Found!";
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue