Skip to content

Commit 102fe63

Browse files
Ian Eldred Pudneyian0pass
Ian Eldred Pudney
authored andcommitted
Add ln for zshrc
1 parent d6e22e6 commit 102fe63

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

setup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$
1818

1919
mkdir -p ~/.config/powerline-shell
2020
ln -s "$DIR/powerline-shell" ~/.config/powerline-shell
21+
22+
ln -s "$DIR/zshrc" ~/.zshrc

zshrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ export NVM_DIR="$HOME/.nvm"
115115
export T="$HOME/teclada/"
116116

117117
# Load Angular CLI autocompletion.
118-
source <(ng completion script)
118+
if command -v ng &> /dev/null; then
119+
source <(ng completion script)
120+
fi
119121

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

0 commit comments

Comments
 (0)