You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
469 B
29 lines
469 B
#!/bin/bash
|
|
|
|
# If not running interactively, don't do anything
|
|
case $- in
|
|
*i*) ;;
|
|
*) return;;
|
|
esac
|
|
|
|
|
|
# for when you want to do custom junk
|
|
# Sources a folder with shell extensions
|
|
if [ -d ~/.shell_extensions ]; then
|
|
for plugin in ~/.shell_extensions/*; do
|
|
if [ -f $plugin ]; then
|
|
source $plugin
|
|
fi
|
|
done
|
|
fi
|
|
|
|
# source environment settings
|
|
if [ -f ~/.environment ]; then
|
|
. ~/.environment
|
|
fi
|
|
|
|
if [ -f "./.motd" ]; then
|
|
source .motd
|
|
fi
|
|
|