diff --git a/.alias b/.alias index d117b57..e3c0503 100644 --- a/.alias +++ b/.alias @@ -6,4 +6,4 @@ alias dotf='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME' alias ls_dotfiels='/usr/bin/git --git-dir=$HOME/.dotfiles ls-tree --full-tree -r --name-only HEAD' alias t="todo.sh" alias gl='git log --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\'' --abbrev-commit --date=relative' -alias salt='sudo salt-call --local "$@"' +alias salt='sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@"' diff --git a/salt/README.md b/salt/README.md index 6c1394d..d3c3e24 100644 --- a/salt/README.md +++ b/salt/README.md @@ -1,3 +1,3 @@ ``` -alias salt='sudo salt-call --local "$@"' +alias salt='sudo salt-call --local --file-root "$HOME/salt/states" --pillar-root "$HOME/salt/pillars" "$@"' ```