addet aliases
This commit is contained in:
parent
20bd2dcec1
commit
7270ec8f92
1 changed files with 6 additions and 3 deletions
9
.bashrc
9
.bashrc
|
@ -63,11 +63,14 @@ check_root() {
|
||||||
_sources() {
|
_sources() {
|
||||||
local sourceDir="$HOME/.bash"
|
local sourceDir="$HOME/.bash"
|
||||||
local sourceOptions=(
|
local sourceOptions=(
|
||||||
"aliases"
|
# "aliases"
|
||||||
"defaults"
|
# "defaults"
|
||||||
"installs"
|
"installs"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
[[ -e "$HOME/.bash_aliases" ]] &&
|
||||||
|
. "$HOME/.bash_aliases"
|
||||||
|
|
||||||
for _s in "${sourceOptions[@]}"; do
|
for _s in "${sourceOptions[@]}"; do
|
||||||
local _sourceFile="${sourceDir}/.${_s}.sh"
|
local _sourceFile="${sourceDir}/.${_s}.sh"
|
||||||
if [ -e "$_sourceFile" ]; then
|
if [ -e "$_sourceFile" ]; then
|
||||||
|
@ -220,7 +223,7 @@ _end() {
|
||||||
main() {
|
main() {
|
||||||
_env
|
_env
|
||||||
_sources
|
_sources
|
||||||
_blesh
|
# _blesh
|
||||||
_init
|
_init
|
||||||
_color_prompt_
|
_color_prompt_
|
||||||
check_root
|
check_root
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue