Skip to content

Commit e8cc9c3

Browse files
committed
fix PATH export, set zsh default shell
1 parent b5f370f commit e8cc9c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bootstrap/changes/tel/setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ if [ -f ~/.tel/.installed ]; then #set update var if finished installation was d
2323
log "updating TEL setup"
2424
log "updating app launcher"
2525
else #download required packages if first start detected
26-
echo "export PATH=$PATH:~/.tel/bin" #add tel bins to path
2726
log "finishing TEL setup"
2827
log "installing required packages"
2928
pkg install fzf byobu curl wget nano tmux zsh ncurses-utils python jq neofetch git make figlet termux-api -y > /dev/null 2>&1
@@ -65,9 +64,10 @@ if [ "$UPDATE" = false ]; then #if first start detected
6564
#log "hit ENTER to continue"
6665
#read blazeit
6766
#sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
68-
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
69-
chsh -s $(which zsh) #set zsh default shell
67+
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 2>&1
68+
chsh -s zsh #set zsh default shell
7069
sed -i 's/robbyrussell/avit/g' ~/.zshrc
70+
echo "export PATH=$PATH:~/.tel/bin" >> ~/.zshrc #add tel bins to path
7171
log "installing configs" #todo: optimize this
7272

7373
cp -rTf ~/../usr/tel/.tel ~/.tel

0 commit comments

Comments
 (0)