Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #45 from caarlos0/fix-path
Browse files Browse the repository at this point in the history
reload! was duplicating itens in PATH
  • Loading branch information
caarlos0 committed Mar 13, 2015
2 parents f0af4fe + d75b47a commit cfac041
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion zsh/aliases.zsh
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/bin/zsh
alias reload!='source ~/.zshrc'
__reload_dotfiles() {
export PATH="$(command -p getconf PATH)"
source ~/.zshrc
cd .
}
alias reload!='__reload_dotfiles'

0 comments on commit cfac041

Please sign in to comment.