Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update linux-pre #22

Merged
merged 3 commits into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .config/zsh/.zshrc-linux
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

# cargo bin
export CARGO_ROOT="$HOME/.cargo"
[[ -d $CARGO_ROOT/bin ]] && export PATH="$CARGO_ROOT/bin:$PATH"
eval "$($CARGO_ROOT/bin/starship init zsh)"

eval "$(starship init zsh)"
export PATH="$HOME/.tfenv/bin:$PATH"

Expand Down
11 changes: 5 additions & 6 deletions scripts/linux-pre
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source scripts/common
pretty_print "${green}Install apt software ...${neutral}"
sudo apt update -y && sudo apt install -y \
zsh curl jq htop btop tree vim neovim vifm tmux gpg mpv wget alacritty cmake \
apt-transport-https ca-certificates gnupg make \
apt-transport-https ca-certificates gnupg make rust-all \
build-essential libssl-dev tk-dev libbz2-dev libreadline-dev libffi-dev libsqlite3-dev liblzma-dev

# Oh my zsh installation
Expand All @@ -28,6 +28,10 @@ else
pretty_print "${yellow}zsh-autosuggestions is already installed, skipping ...${neutral}"
fi

# install starship
pretty_print "${green}Installing starship...${neutral}"
cargo install starship --locked

if [ ! -d ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting ];
then
pretty_print "${green}Installing zsh-syntax-highlighting...${neutral}"
Expand Down Expand Up @@ -115,9 +119,4 @@ then
else
pretty_print "${yellow}goenv is already installed, skipping ...${neutral}"
fi

# install starship
pretty_print "${green}Installing starship...${neutral}"
cargo install starship --locked

pretty_print "${green}We are done!...everything looks good!${neutral}"
Loading