From df5cdda5b4ab8546a06e9e76aa6251638826a38d Mon Sep 17 00:00:00 2001 From: Azalea Date: Mon, 10 Oct 2022 09:33:39 -0400 Subject: [PATCH] [+] Logisim config sync --- .../.userPrefs/com/cburch/logisim/prefs.xml | 42 +++++++++++++++++++ scripts/includes/config-sync.sh | 7 +++- scripts/zshrc.sh | 1 + 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 config-sync/.java/.userPrefs/com/cburch/logisim/prefs.xml diff --git a/config-sync/.java/.userPrefs/com/cburch/logisim/prefs.xml b/config-sync/.java/.userPrefs/com/cburch/logisim/prefs.xml new file mode 100644 index 0000000..f90b17a --- /dev/null +++ b/config-sync/.java/.userPrefs/com/cburch/logisim/prefs.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/includes/config-sync.sh b/scripts/includes/config-sync.sh index 64ea4c1..ce73c40 100644 --- a/scripts/includes/config-sync.sh +++ b/scripts/includes/config-sync.sh @@ -39,10 +39,13 @@ check-inject() fi } +CFGSYNC="$SCR/../config-sync" + # Sync SSH Config -alias check-ssh-config="check-config $HOME/.ssh/config $SCR/../config-sync/ssh-config" +alias check-ssh-config="check-config $HOME/.ssh/config $CFGSYNC/ssh-config" check-ssh-config # Check nanorc includes # check-inject "$HOME/.nanorc" "include $SCR/../config-sync/nanorc" -check-config "$HOME/.nanorc" "$SCR/../config-sync/nanorc" +check-config "$HOME/.nanorc" "$CFGSYNC/nanorc" +check-config "$HOME/.java/.userPrefs/com/cburch/logisim/prefs.xml" "$CFGSYNC/.java/.userPrefs/com/cburch/logisim/prefs.xml" diff --git a/scripts/zshrc.sh b/scripts/zshrc.sh index b12e9e5..d439e20 100755 --- a/scripts/zshrc.sh +++ b/scripts/zshrc.sh @@ -40,6 +40,7 @@ alias l='ll' alias lla='ls -la' alias grep='grep --color' alias rm='rm -ir' +alias mkdirs='mkdir -p' alias ports='netstat -tulpn | grep LISTEN' alias findtxt='grep -IHrnws --exclude=\*.log -s '/' -e'