better salt alias
This commit is contained in:
parent
92b7931caa
commit
64d0510af6
2
.alias
2
.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 ls_dotfiels='/usr/bin/git --git-dir=$HOME/.dotfiles ls-tree --full-tree -r --name-only HEAD'
|
||||||
alias t="todo.sh"
|
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 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" "$@"'
|
||||||
|
@ -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" "$@"'
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user