mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-05-14 20:09:26 +02:00
Updated mainprofile, removed autoindent in vim. Set up awesome.lua with xinitrc. See if it works
This commit is contained in:
parent
3bbb4d6c9a
commit
cc8ca493c8
15 changed files with 600 additions and 507 deletions
|
@ -1,8 +1,12 @@
|
|||
DOTFILES="$HOME/.dotfiles"
|
||||
#Add DOTFILES/bin/ to PATH
|
||||
DOTBIN="$DOTFILES/bin"
|
||||
if [ -d "$DOTBIN" ]; then
|
||||
export PATH="$PATH:$DOTBIN"
|
||||
|
||||
addpath() { case ":${PATH:=$1}:" in *:$1:*) ;; *) PATH="$1:$PATH" ;; esac; }
|
||||
|
||||
if [ -d "$DOTBIN" ]
|
||||
then
|
||||
addpath "$DOTBIN"
|
||||
fi
|
||||
|
||||
|
||||
|
@ -11,14 +15,22 @@ export EDITOR="vi"
|
|||
|
||||
|
||||
# Source Envs
|
||||
DOTENVS="$HOME/.envs"
|
||||
if [ -d "DOTENVS" ]; then
|
||||
source "$DOTENVS/*.active"
|
||||
DOTENVS="$DOTFILES/envs.d"
|
||||
if [ -d "$DOTENVS" ]
|
||||
then
|
||||
for f in "$DOTENVS/*.active"
|
||||
do
|
||||
if [ "$f" = "$DOTENVS/*.active" ]
|
||||
then
|
||||
break
|
||||
fi
|
||||
|
||||
source "$f"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Source Bashrc if BASH
|
||||
if [ "$BASH" ] && [ -f $DOTFILES/bash/bashrc ]; then
|
||||
if [ "$BASH" ] && [ -f $DOTFILES/bash/bashrc ]
|
||||
then
|
||||
source $DOTFILES/bash/bashrc
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue