Adds update dots script and fixes some typos

This commit is contained in:
2024-03-26 14:27:01 -04:00
parent a696e4e658
commit 1ae41a0fac
3 changed files with 8 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ export MYZSHRC="$ZDOTDIR/.zshrc"
export NAP_CONFIG="$HOME/.config/nap/config.yaml"
export SKELETONDIR="$DOTFILES/skeleton"
export ANSIBLE_GEN_DIR="$GHREPOS/ansible/ansible-gen-playbook"
export ANSIBLE_MACOS_PLAYBOOK_DIR="$GHREPOS/ansible/ansible-macos-playbook"
export SITES="$GHREPOS/sites"
# NPM

View File

@@ -170,7 +170,7 @@ alias tss='~/.local/scripts/tmux-sessionator --choose' # attach to an existing
alias tls='tmux list-sessions' # list tmux sessions
alias temp='cd $(mktemp -d)' # create a temporary directory and move into it.
alias vi='nvim' # set vi to open neovim
alias newf='"$SCRIPS"/newx --function' # generate a new shell function
alias newf='"$SCRIPTS"/newx --function' # generate a new shell function
alias nlnv='nvim "$LOCAL_ENV"' # open local environment overrides file in neovime
alias nvim='unset VIMINIT && unset MYVIMRC && nvim' # alias nvim to unset vimrc, useful when using both vim & neovim
alias nvim-mhoush='NVIM_APPNAME=m-housh && nvim' # set neovim to use my config.

View File

@@ -0,0 +1,6 @@
#!/bin/zsh
function update-dots() {
find "$ANSIBLE_MACOS_PLAYBOOK_DIR" -type f -maxdepth 1 -mindepth 1 -name justfile \
| xargs -I {} just --justfile {} run-playbook --tags dotfiles "$@"
}