-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- prevent clobbering terminal - add $HOME/go/bin to PATH if not set .zshrc
- Loading branch information
Phillip Miller
committed
Oct 17, 2021
1 parent
352c818
commit b356560
Showing
6 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
zsh/templates/.zshrc_extra.zsh → zsh/templates/darwin/.zshrc_extra.zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Add ~/go/bin to path | ||
[[ ":$PATH:" != *":$HOME/go/bin:"* ]] && export PATH="${PATH}:$HOME/go/bin" | ||
# For linux add ~/.local/bin to path | ||
[[ ":$PATH:" != *":$HOME/.locaal/bin:"* ]] && export PATH="${PATH}:$HOME/.local/bin" | ||
|
||
# Set CTRL+U to only delete backwards to the left of the cursor. | ||
bindkey \^U backward-kill-line | ||
|
||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | ||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | ||
POWERLEVEL9K_INSTANT_PROMPT=quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters