Adds VSCode environments.

Adds aliases for VSCode
Adds covidTrack to GIT projects
Changes repeated commands to use text file for input.
This commit is contained in:
tmerritt committed 2022-01-11 08:01:51 -05:00
1 parent 32f03a33e8
commit d887ec70e0
6 files changed
+28 -4

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
dfr
geeklib
lilith
covidTrack
+3
View File
@@ -0,0 +1,3 @@
generic
kotlin
platformio
+9
View File
@@ -0,0 +1,9 @@
# Aliases for VSCode environments.
set ROOTDIR="/home/tmerritt/.local/vscode"
for n in $(cat ~/.dotfiles/configs/vscode/environments.txt)
do
echo "Settings up Alias for $n"
alias code-kotlin="code -n --user-data-dir $ROOTDIR/$n/usr --extensions-dir $ROOTDIR/$n/ext"
done
-1
View File
@@ -105,7 +105,6 @@ source $ZSH/oh-my-zsh.sh
# alias ohmyzsh="mate ~/.oh-my-zsh"
# load custom executable functions
#for function in ~/.zsh/functions/*; do
# source $function
#done
+5
View File
@@ -5,6 +5,9 @@
- create:
- ~/Projects
- ~/.kube
- ~/.local/etc/vscode/generic
- ~/.local/etc/vscode/kotlin
- ~/.local/etc/vscode/platformio
- link:
# Bash
~/.bash_logout: configs/bash/bash_logout
@@ -56,3 +59,5 @@
url: "https://git.pyrocode.xyz/tmerritt/lilith.git"
"/home/tmerritt/Projects/geeklib":
url: "https://git.pyrocode.xyz/tmerritt/geeklib.git"
"/home/tmerritt/Projects/covidTrack":
url: "https://git.pyrocode.xyz/tmerritt/ct.git"
+7 -3
View File
@@ -1,5 +1,9 @@
#!/bin/bash
cd ~/Projects/dfr && git fetch --all
cd ~/Projects/geeklib && git fetch --all
cd ~/Projects/lilith && git fetch --all
export SRCROOT="/home/tmerritt/Projects"
for n in $(cat /home/tmerritt/.dotfiles/configs/git/projects.txt)
do
echo "Updating $n"
cd "$SRCROOT/$n" && git fetch --all > /dev/null
done