Skip to content

Commit

Permalink
feat: add some alias command in zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jun 11, 2024
1 parent ade8a14 commit 9b9b354
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,25 @@ source $ZSH/oh-my-zsh.sh
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias dc='docker compose'
alias dce='dc exec'
alias dcr='dc run'

alias art='php artisan'
alias tinker='art tinker'
alias phpunit='vendor/bin/phpunit'
alias sail='vendor/bin/sail'
alias pint='vendor/bin/pint'
alias phpstan='vendor/bin/phpstan'

alias c='clear'

source ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.oh-my-zsh/custom/plugins/fast-syntax-highlighting/F-Sy-H.plugin.zsh

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

0 comments on commit 9b9b354

Please sign in to comment.