Skip to content

Instantly share code, notes, and snippets.

@wallentx
Last active November 27, 2025 19:22
Show Gist options
  • Select an option

  • Save wallentx/eff46ae19e26a5e3802b5f34239c18fc to your computer and use it in GitHub Desktop.

Select an option

Save wallentx/eff46ae19e26a5e3802b5f34239c18fc to your computer and use it in GitHub Desktop.
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="osx2"
for p in "${plugins[@]}"; do
target="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/$p"
if [[ ! -d "$target" ]]; then
echo "[oh-my-zsh] Installing missing plugin: $p"
git clone "https://github.com/${p}/${p}.git" "$target" 2>/dev/null \
|| echo "[oh-my-zsh] Failed to auto-install $p"
fi
done
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
bgnotify
zsh-fzf-history-search
forgit
aws
gh
)
export GOPATH="$HOME/go"
export GOBIN="$GOPATH/bin"
PATH="$PREFIX/bin:$HOME/.local/bin:$PATH"
PATH="$PATH:$HOME/bin"
PATH="$PATH:$HOME/src/cosmocc/bin"
PATH="$PATH:$GOBIN"
PATH="$PATH:$HOME/.cargo/bin"
export PATH
#LINK="https://github.com/mayTermux"
#export LINK
#LINK_SSH="[email protected]:mayTermux"
#export LINK_SSH
export TERM=xterm-256color
source $ZSH/oh-my-zsh.sh
source $HOME/.config/lf/icons
source $HOME/.aliases
source $HOME/.autostart
PATH="/data/data/com.termux/files/home/perl5/bin${PATH:+:${PATH}}"; export PATH;
PERL5LIB="/data/data/com.termux/files/home/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/data/data/com.termux/files/home/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
PERL_MB_OPT="--install_base \"/data/data/com.termux/files/home/perl5\""; export PERL_MB_OPT;
PERL_MM_OPT="INSTALL_BASE=/data/data/com.termux/files/home/perl5"; export PERL_MM_OPT;
eval "$(gh copilot alias -- zsh)"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
# opencode
export PATH=/data/data/com.termux/files/home/.opencode/bin:$PATH
export ANDROID_NDK_HOME=/opt/android-ndk
export GYP_DEFINES="android_ndk_path=$ANDROID_NDK_HOME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment