mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[scripts] move script resources to a separate directory
This commit is contained in:
parent
6f3eb3b40e
commit
9f1d9f506e
6 changed files with 3 additions and 3 deletions
|
@ -4,4 +4,4 @@ set -e
|
||||||
|
|
||||||
script_dir="$(dirname "$0")"
|
script_dir="$(dirname "$0")"
|
||||||
|
|
||||||
exec awk -f "${script_dir}/colortest.awk"
|
exec awk -f "${script_dir}/../script-resources/colortest.awk"
|
||||||
|
|
|
@ -6,4 +6,4 @@ script_dir="$(dirname "$0")"
|
||||||
cols="$(tput cols)"
|
cols="$(tput cols)"
|
||||||
lines="$(tput lines)"
|
lines="$(tput lines)"
|
||||||
|
|
||||||
exec awk -v WIDTH="$((cols/2))" -v HEIGHT="$lines" -f "${script_dir}/colortest2.awk"
|
exec awk -v WIDTH="$((cols/2))" -v HEIGHT="$lines" -f "${script_dir}/../script-resources/colortest2.awk"
|
||||||
|
|
|
@ -6,4 +6,4 @@ for python in bpython python3; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "using Python '$python'"
|
echo "using Python '$python'"
|
||||||
PYTHONSTARTUP="$(dirname "$0")/pycalc_startup.py" "$python" "$@"
|
PYTHONSTARTUP="$(dirname "$0")/../script-resources/pycalc_startup.py" "$python" "$@"
|
||||||
|
|
Loading…
Reference in a new issue