Created
July 5, 2019 17:09
-
-
Save ducklin5/c5d0ce5605a21b4817c9263b32258193 to your computer and use it in GitHub Desktop.
This file contains 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
if [ "$TMUX" = "" ]; then | |
export PATH="${PATH}:/home/cmput274/.gem/ruby/2.5.0/bin:/home/cmput274/.local/bin"; | |
exec tmux; | |
fi | |
export PYTHONPATH="/home/cmput274/.local/lib/python3.5/site-packages/" | |
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' | |
plugins=(git web-search) | |
export TERM="xterm-256color" | |
#export ZSH=$HOME/.oh-my-zsh | |
#source $ZSH/oh-my-zsh.sh | |
########### POWERLEVEL9K######### | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 | |
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_middle" | |
POWERLEVEL9K_RVM_BACKGROUND="black" | |
POWERLEVEL9K_RVM_FOREGROUND="249" | |
POWERLEVEL9K_RVM_VISUAL_IDENTIFIER_COLOR="red" | |
POWERLEVEL9K_RVM_BACKGROUND="black" | |
POWERLEVEL9K_RVM_FOREGROUND="249" | |
POWERLEVEL9K_RVM_VISUAL_IDENTIFIER_COLOR="red" | |
POWERLEVEL9K_STATUS_VERBOSE=false | |
POWERLEVEL9K_VCS_CLEAN_FOREGROUND='black' | |
POWERLEVEL9K_VCS_CLEAN_BACKGROUND='green' | |
POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='black' | |
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='yellow' | |
POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='white' | |
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='black' | |
POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='black' | |
POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='blue' | |
POWERLEVEL9K_FOLDER_ICON='' | |
POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE=true | |
POWERLEVEL9K_STATUS_VERBOSE=false | |
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0 | |
POWERLEVEL9K_VCS_UNTRACKED_ICON='\u25CF' | |
POWERLEVEL9K_VCS_UNSTAGED_ICON='\u00b1' | |
POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON='\u2193' | |
POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON='\u2191' | |
POWERLEVEL9K_VCS_COMMIT_ICON="\uf417" | |
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{blue}\u256D\u2500%f" | |
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{blue}\u2570\uf460%f " | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context ssh root_indicator dir dir_writable vcs) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(command_execution_time status anaconda time battery) | |
DISABLE_UPDATE_PROMPT=false | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
#POWERLEVEL9K_VCS_CLEAN_FOREGROUND='099' | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
#Icon config | |
POWERLEVEL9K_HOME_ICON='\UF20E' | |
POWERLEVEL9K_SUB_ICON='\UF07C' | |
#POWERLEVEL9K_STATUS_OK_ICON='\UF2B0' | |
POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\UE0BC ' | |
POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\UE0BA' | |
# Anaconda | |
POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER='>' | |
POWERLEVEL9K_ANACONDA_LEFT_DELIMITER='<' | |
POWERLEVEL9K_ANACONDA_BACKGROUND='24' | |
POWERLEVEL9K_ANACONDA_FOREGROUND='111' | |
# POWERLEVEL9K_ANACONDA_ICON='' | |
# Bateria | |
POWERLEVEL9K_BATTERY_CHARGING='yellow' | |
POWERLEVEL9K_BATTERY_CHARGED='blue' | |
POWERLEVEL9K_BATTERY_LOW_THRESHOLD='20' | |
POWERLEVEL9K_BATTERY_LOW_COLOR='red' | |
POWERLEVEL9K_BATTERY_CHARGED_BACKGROUND='green' | |
POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND='235' | |
POWERLEVEL9K_BATTERY_CHARGING_BACKGROUND='228' | |
POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND='235' | |
POWERLEVEL9K_BATTERY_LOW_BACKGROUND='88' | |
POWERLEVEL9K_BATTERY_LOW_FOREGROUND='235' | |
POWERLEVEL9K_BATTERY_CHARGED_ICON='/UF240' | |
POWERLEVEL9K_BATTERY_LOW_ICON='/UF240' | |
POWERLEVEL9K_BATTERY_CHARGING_ICON='/UF1E6' | |
POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND='195' | |
POWERLEVEL9K_BATTERY_DISCONNECTED_BACKGROUND='009' | |
POWERLEVEL9K_BATTERY_ICON='\UF1E6' | |
########### ANTIGEN ############## | |
source ~/antigen.zsh | |
#Load the oh-my-zsh's library. | |
antigen use oh-my-zsh | |
#Install directory | |
POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k | |
# Bundles from the default repo (robbyrussell's oh-my-zsh). | |
antigen bundle git | |
antigen bundle heroku | |
antigen bundle pip | |
antigen bundle lein | |
antigen bundle command-not-found | |
antigen bundle denysdovhan/gitio-zsh | |
antigen bundle catimg | |
antigen bundle colored-man-pages | |
antigen bundle supercrabtree/k | |
antigen bundle wfxr/forgit | |
antigen bundle rimraf/k | |
antigen bundle tarruda/zsh-autosuggestions | |
# Syntax highlighting bundle. | |
antigen bundle zsh-users/zsh-syntax-highlighting | |
antigen bundle robbyrussell/oh-my-zsh | |
#antigen theme ~/myZshThemes/ gnzh-azeez.zsh-theme | |
antigen theme bhilburn/powerlevel9k powerlevel9k | |
antigen apply | |
################################## | |
alias ls="ls -la --color" | |
alias l='colorls -lA --sd -tr' | |
DATE=`date '+%Y-%m-%d-%H_%M_%S'` | |
alias maim="maim -s /home/azeez/Pictures/screenshots/`echo $DATE`.png | xclip -selection clipboard -t image/png" | |
export EDITOR='vim' | |
COWPATH=/home/azeez/.cowsay/bkendzior/:/usr/share/cows | |
#[ -f temp.txt ] && rm temp.txt && (fortune -s -n 300 | cowsay -W 20 -f rickNmortyHead) >> temp.txt && neofetch --backend ascii --source temp.txt | |
#neofetch --backend ascii --source ~/rickMortyFloatingHead.txt --ascii_colors 5 | |
#unbuffer lolcat rickMortyFloatingHead.txt| tee temp.txt >> /dev/null && neofetch --backend ascii --source temp.txt --help | |
fortune -s -n 150 | cowsay | lolcat | |
alias screenshot='maim -s --format jpg /dev/stdout | xclip -selection clipboard -t image/jpg -i' | |
alias godot=/home/azeez/Godot/3.0.4/Godot_v3.0.4-stable_x11.64 | |
alias MG3=/home/azeez/gitRepos/MazeGame_G3.0_ported/ | |
alias style='python3 ~/arduino-ua/bin/stylecheck.py' | |
# | |
# Adjust $PATH | |
# HJH - It is unclear who adds additional path information. So to avoid | |
# the problem of whether this is a login shell or not, we simply check | |
# to see if the path component is already there. And add if not. | |
# The grep -qv returns success if the pattern is NOT in $PATH | |
if [ -d "$HOME/.local/bin" ] ; then | |
if ( echo $PATH | grep -qv 'cmput274/\.local/bin' ) ; then | |
export PATH="$HOME/.local/bin:$PATH" | |
fi | |
fi | |
if [ -d "$HOME/arduino-ua/bin" ] ; then | |
if ( echo $PATH | grep -qv 'arduino-ua/bin' ) ; then | |
export PATH="$HOME/arduino-ua/bin:$PATH" | |
fi | |
fi | |
if [ -d "$HOME/bin" ] ; then | |
if ( echo $PATH | grep -qv 'cmput274/bin' ) ; then | |
export PATH="$HOME/bin:$PATH" | |
fi | |
fi | |
alias style='python3 ~/arduino-ua/bin/stylecheck.py' | |
if [ -f ~/.bash_aliases ]; then | |
. ~/.bash_aliases | |
fi | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/i386-linux-gnu/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment