Skip to content

Commit

Permalink
feat: Add appsync function to run install.sh (#48)
Browse files Browse the repository at this point in the history
- new appsync function to run install.sh and sync installed apps with
the ones in apps.toml
- export DOTPATH
- add gitconfig.private to gitignore

## Summary by Sourcery

Add a new AppSync function to run install.sh and sync applications with
apps.toml, export DOTPATH, and update .gitignore to include
gitconfig.private.

New Features:
- Introduce a new AppSync function to execute install.sh and synchronize
installed applications with those listed in apps.toml.

Enhancements:
- Export DOTPATH in the environment configuration.

Chores:
- Add gitconfig.private to the .gitignore file to prevent it from being
tracked.
  • Loading branch information
martimlobao authored Nov 5, 2024
1 parent 1f9379f commit de33b09
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -227,3 +227,4 @@ pyrightconfig.json
# End of https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode,python
# repo specific
temp/
.gitconfig.private
Expand Down
3 changes: 3 additions & 0 deletions linkme/.exports
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ export NNN_CONTEXT_COLORS='1234';

# Change go path
export GOPATH="$HOME/.go"

# Add dotfiles (should match the one in bootstrap.sh)
export DOTPATH="$HOME/.dotfiles"
5 changes: 5 additions & 0 deletions linkme/.functions
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env bash

# Run .install.sh
function appsync () {
bash "$DOTPATH/install.sh"
}

# Start screensaver.
function ss () {
open -a ScreenSaverEngine
Expand Down

0 comments on commit de33b09

Please sign in to comment.