-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc.sh
More file actions
executable file
·38 lines (23 loc) · 877 Bytes
/
bashrc.sh
File metadata and controls
executable file
·38 lines (23 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
#***************************[check if already sourced]************************
# 2019 12 01
if [ "$SOURCED_BASH_MULTIMEDIA" != "" ]; then
return
exit
fi
if [ "$SOURCED_BASH_LAST" == "" ]; then
export SOURCED_BASH_LAST=1
else
export SOURCED_BASH_LAST="$(expr "$SOURCED_BASH_LAST" + 1)"
fi
export SOURCED_BASH_MULTIMEDIA="$SOURCED_BASH_LAST"
#***************************[paths and files]*********************************
# 2020 12 27
temp_local_path="$(realpath "$(dirname "${BASH_SOURCE}")" )/"
#***************************[source]******************************************
# 2021 03 24
source "${temp_local_path}scripts/pdf_functions.sh"
source "${temp_local_path}scripts/image_functions.sh"
source "${temp_local_path}scripts/video_functions.sh"
source "${temp_local_path}scripts/help.sh"
_multimedia_pdf_from_markdown_create_aliases