mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-05-15 04:19:23 +02:00
Possiblity of having special setups for hostnames
For .Bashrc aswell as generic .Profile
This commit is contained in:
parent
0fd6e855bf
commit
37123ca4cd
31 changed files with 3148 additions and 51 deletions
24
profiles/main
Normal file
24
profiles/main
Normal file
|
@ -0,0 +1,24 @@
|
|||
DOTFILES="$HOME/.dotfiles"
|
||||
#Add DOTFILES/bin/ to PATH
|
||||
DOTBIN="$HOME/.bin"
|
||||
if [ -d "$DOTBIN" ]; then
|
||||
export PATH="$PATH:$DOTBIN"
|
||||
fi
|
||||
|
||||
|
||||
# Always try to use vi(m) if possible
|
||||
export EDITOR="vi"
|
||||
|
||||
|
||||
# Source Envs
|
||||
DOTENVS="$HOME/.envs"
|
||||
if [ -d "DOTENVS" ]; then
|
||||
source "$DOTENVS/*.active"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Source Bashrc if BASH
|
||||
if [ "$BASH" ] && [ -f ~/.bashrc ]; then
|
||||
source ~/.bashrc
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue