Skip to content

Commit

Permalink
fix(zsh): theme switch aliases (#49)
Browse files Browse the repository at this point in the history
Alias `go-task` to `task` if `go-task` executable is available to unify
experience across different systems.
  • Loading branch information
kirillmorozov authored May 13, 2024
1 parent 760cbee commit 1c97056
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ export BAT_THEME="base16"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
if command -v go-task &> /dev/null; then
alias task="go-task"
fi
alias li="task -g light"
alias da="task -g dark"

Expand Down

0 comments on commit 1c97056

Please sign in to comment.