Created
June 30, 2023 15:08
-
-
Save raghavauppuluri13/63a1a769487a86d5e361fad5fffbf7ab 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
setopt globdots | |
setopt autocd | |
# 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 Prezto | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
fi | |
# Init zplug | |
if [[ ! -d ~/.zplug ]];then | |
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh | |
fi | |
source ~/.zplug/init.zsh | |
# Select zplug plugins | |
zplug "clvv/fasd" | |
zplug "junegunn/fzf" | |
zplug "yuhonas/zsh-aliases-lsd" | |
zplug "romkatv/powerlevel10k", as:theme, depth:1 | |
# Make sure that plugins are installed | |
if ! zplug check --verbose; then | |
printf "Installing missing zplug plugins...\n" | |
zplug install | |
fi | |
# load Zplug plugins | |
zplug load | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
# Alias definitions. | |
if [ -f ~/.zsh_aliases ]; then | |
. ~/.zsh_aliases | |
fi | |
# ROS | |
source /opt/ros/noetic/setup.zsh | |
#source ~/catkin_ws/devel/setup.zsh | |
#source ~/luna_ws/devel/setup.zsh | |
# Drake | |
export LD_LIBRARY_PATH="/opt/drake/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" | |
export PATH="/opt/drake/bin${PATH:+:${PATH}}" | |
export PYTHONPATH="/opt/drake/lib/python$(python3 -c 'import sys; print("{0}.{1}".format(*sys.version_info))')/site-packages${PYTHONPATH:+:${PYTHONPATH}}" | |
# ssh ecegrid | |
export ECEGRID_LOG="[email protected]" | |
# 469 qemu | |
PATH=~/qemu/build/bin:$PATH | |
export JOS_PATH="/home/raghava/school/sp22/469/jos" | |
# 362 workbench | |
PATH=~/Ac6/SystemWorkbench:$PATH | |
# autojump | |
[[ -s /home/raghava/.autojump/etc/profile.d/autojump.sh ]] && source /home/raghava/.autojump/etc/profile.d/autojump.sh | |
# executables | |
PATH=~/execs:$PATH | |
# Gazebo | |
export GAZEBO_MODEL_PATH=~/luna_ws/src/arc_robot_arm/chessboard_gazebo/models:$GAZEBO_MODEL_PATH | |
export GAZEBO_MODEL_PATH=~/luna_ws/src/purdue_lunabotics/lunabot_sim/mining_arena_gazebo/models:$GAZEBO_MODEL_PATH | |
export GAZEBO_MODEL_PATH=~/catkin_ws/src/icra_2022_mars/mars_sim/nist_board_gazebo/models:$GAZEBO_MODEL_PATH | |
export GAZEBO_PLUGIN_PATH=~/catkin_ws/devel/lib:$GAZEBO_PLUGIN_PATH | |
export GAZEBO_PLUGIN_PATH=~/luna_ws/devel/lib:$GAZEBO_PLUGIN_PATH | |
export [email protected] | |
# Install Ruby Gems to ~/gems | |
export GEM_HOME="$HOME/gems" | |
export PATH="$HOME/gems/bin:$PATH" | |
export PATH="/usr/local/MATLAB/R2022b/bin:$PATH" | |
. "$HOME/.cargo/env" | |
export VISUAL=vim | |
export EDITOR=vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment