Last active
July 1, 2024 11:26
-
-
Save hkboujrida/b4b8005c58d55e2651449334d751da84 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
sudo apt update && sudo apt upgrade -y | |
sudo apt install zsh git curl wget build-essential fzf -y | |
export NONINTERACTIVE=1 | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> $HOME/.profile | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
brew install gcc | |
curl -L git.io/antigen > .antigen.zsh | |
curl -L https://gist.githubusercontent.com/hkboujrida/b4b8005c58d55e2651449334d751da84/raw/8a3a1e5ca87d69f8b0d4e760226f0ae62406ed25/zshrc > .zshrc | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended | |
brew install atuin | |
brew install autoenv |
This file contains hidden or 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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
source ~/.antigen.zsh | |
# Load the oh-my-zsh's library. | |
antigen use oh-my-zsh | |
# Bundles from the default repo (robbyrussell's oh-my-zsh). | |
antigen bundle git | |
antigen bundle gitignore | |
antigen bundle pip | |
antigen bundle lein | |
antigen bundle command-not-found | |
antigen bundle z | |
antigen bundle history | |
antigen bundle vscode | |
antigen bundle zsh-interactive-cd | |
antigen bundle alias-finder | |
antigen bundle aliases | |
antigen bundle autoenv | |
antigen bundle common-aliases | |
antigen bundle copydir | |
antigen bundle copyfile | |
antigen bundle emoji | |
antigen bundle colored-man-pages | |
antigen bundle encode64 | |
antigen bundle extract | |
antigen bundle fzf | |
antigen bundle sudo | |
# Syntax highlighting bundle. | |
antigen bundle atuinsh/atuin@main | |
antigen bundle zsh-users/zsh-completions | |
antigen bundle zsh-users/zsh-autosuggestions | |
antigen bundle zsh-users/zsh-syntax-highlighting | |
# Load the theme. | |
antigen theme romkatv/powerlevel10k | |
# Tell Antigen that you're done. | |
antigen apply | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
source /home/linuxbrew/.linuxbrew/opt/autoenv/activate.sh | |
export PATH=$PATH:/home/$USER/.local/bin | |
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment