Skip to content
Snippets Groups Projects
Commit 9eb7ca3d authored by Dante Falzone's avatar Dante Falzone
Browse files

added aliases for using the tma-16

parent e5110d6c
No related branches found
No related tags found
No related merge requests found
...@@ -151,3 +151,7 @@ source ~/scripts/*.sh; ...@@ -151,3 +151,7 @@ source ~/scripts/*.sh;
# Get the weather. # Get the weather.
alias wthr="curl http://wttr.in/Lincoln?m" alias wthr="curl http://wttr.in/Lincoln?m"
# Make it easier to use the TMA-16 and the assembler for it.
alias tma16="$HOME/tma-16/tma-16-rs/target/release/tma-16-rs"
alias tmasm="python3 ~/tma-16/tma_16_assembler.py"
...@@ -14,7 +14,9 @@ proj() { ...@@ -14,7 +14,9 @@ proj() {
if [[ -n $2 ]]; then if [[ -n $2 ]]; then
# file handle for the project's language specified? # file handle for the project's language specified?
if [[ -n $3 ]]; then if [[ -n $3 ]]; then
if [[ ! -d $2 ]]; then
mkdir $2; mkdir $2;
fi
cd $2; cd $2;
mkdir src; mkdir src;
mkdir doc; mkdir doc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment