forked from colonelpanic/dotfiles
source_if_exists
This commit is contained in:
parent
851ac482b8
commit
0efd386ab0
@ -447,3 +447,7 @@ function jump_cd {
|
|||||||
cd $2
|
cd $2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function source_if_exists {
|
||||||
|
test -r "$1" && source "$1"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user