Skip to content

Instantly share code, notes, and snippets.

@aradhyamathur
Created May 15, 2022 11:11
Show Gist options
  • Save aradhyamathur/0a180440c6ab5144d765100e546edabc to your computer and use it in GitHub Desktop.
Save aradhyamathur/0a180440c6ab5144d765100e546edabc to your computer and use it in GitHub Desktop.
zshrc config
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/thor/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="agnoster"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git
zsh-wakatime
)
source $ZSH/oh-my-zsh.sh
# PROMPT='%D{%m/%f/%y}|%D{%L:%M:%S} ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}${NEWLINE}$ '
PROMPT=$PROMPT:'%D{%m/%f/%y}|%D{%L:%M:%S} ${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}${NEWLINE}
|$ '
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
#export PATH=~/anaconda3/bin:$PATH
export PATH=/usr/local/cuda-10.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64
export CPATH=/usr/local/cuda-10.0/include:$CPATH
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/thor/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/thor/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/thor/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/thor/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
CUDNN_H_PATH=/usr/local/cuda/include/cudnn.h
export PATH="$PATH:/usr/lib/dart/bin"
export VULKAN_SDK=~/soft/vulkan/1.1.108.0/x86_64
export PATH=$VULKAN_SDK/bin:$PATH
export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
export TORCH_LIBRARIES=/home/thor/soft/libtorch
export PATH=/home/thor/soft/libtorch:$PATH
export PATH=/home/thor/flutter/bin:$PATH
export ENABLE_FLUTTER_DESKTOP=true
export OPTIX_INSTALL_DIR=/home/thor/soft/NVIDIA-OptiX-SDK-7.4.0-linux64-x86_64
############# G3d
export g3d=/home/soft/g3d
export G3D10DATA=$g3d/G3D10/data-files:$g3d/data10/common:$g3d/data10/game:$g3d/data10/research
export INCLUDE=$g3d/G3D10/external/glew.lib/include:$g3d/G3D10/external/glfw.lib/include:$g3d/G3D10/external/civetweb.lib/include:$g3d/G3D10/external/qrencode.lib/include:$g3d/G3D10/external/zlib.lib/include:$g3d/G3D10/external/physx/include:$g3d/G3D10/G3D-base.lib/include:$g3d/G3D10/G3D-gfx.lib/include:$g3d/G3D10/G3D-app.lib/include:$g3d/G3D10/external/tbb/include:$INCLUDE
export LIBRARY=$g3d/G3D10/build/lib:$g3d/G3D10/build/bin:$LIBRARY
export PATH=$PATH:$g3d/G3D10/build/bin
export PATH=$PATH:"/home/thor/soft/julia-1.2.0/bin/"
export PATH=$PATH:/usr/local/go/bin
######## java3d
export CLASSPATH=.:/home/thor/soft/j3d/j3d/lib/ext/j3dcore.jar:/home/thor/soft/j3d/j3d/lib/ext/j3dutils.jar:/home/thor/soft/j3d/j3d/lib/ext/vecmath.jar
export cmake=/home/thor/soft/cmake-3.16.2-Linux-x86_64/bin/cmakeHISTTIMEFORMAT="%F %T "
#################
export HOST=localhost
export PYMESH_PATH=/home/thor/soft/PyMeshsource
# /opt/ros/melodic/setup.zsh
# source /opt/ros/kinetic/setup.sh
#source /opt/ros/melodic/setup.zsh
#
#(cat ~/.cache/wal/sequences &)
#source ~/.cache/wal/colors-tty.sh
#
#feh --bg-scale ~/Pictures/Wallpapers/iron_man_3_painting_by_drawingthefamous-d5nhxe4.jpg
alias batcheck="upower -i `upower -e | grep 'BAT'`"
conda activate nodeenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment