Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. if [ "$TMUX" = "" ]; then
  2. export PATH="${PATH}:/home/cmput274/.gem/ruby/2.5.0/bin:/home/cmput274/.local/bin";
  3. exec tmux;
  4. fi
  5.  
  6. export PYTHONPATH="/home/cmput274/.local/lib/python3.5/site-packages/"
  7. export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
  8.  
  9.  
  10. plugins=(git web-search)
  11.  
  12. export TERM="xterm-256color"
  13.  
  14. #export ZSH=$HOME/.oh-my-zsh
  15. #source $ZSH/oh-my-zsh.sh
  16. ########### POWERLEVEL9K#########
  17. POWERLEVEL9K_PROMPT_ON_NEWLINE=true
  18. POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
  19. POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
  20. POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
  21. POWERLEVEL9K_SHORTEN_STRATEGY="truncate_middle"
  22. POWERLEVEL9K_RVM_BACKGROUND="black"
  23. POWERLEVEL9K_RVM_FOREGROUND="249"
  24. POWERLEVEL9K_RVM_VISUAL_IDENTIFIER_COLOR="red"
  25. POWERLEVEL9K_RVM_BACKGROUND="black"
  26. POWERLEVEL9K_RVM_FOREGROUND="249"
  27. POWERLEVEL9K_RVM_VISUAL_IDENTIFIER_COLOR="red"
  28. POWERLEVEL9K_STATUS_VERBOSE=false
  29. POWERLEVEL9K_VCS_CLEAN_FOREGROUND='black'
  30. POWERLEVEL9K_VCS_CLEAN_BACKGROUND='green'
  31. POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='black'
  32. POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='yellow'
  33. POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='white'
  34. POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='black'
  35. POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='black'
  36. POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='blue'
  37. POWERLEVEL9K_FOLDER_ICON=''
  38. POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE=true
  39. POWERLEVEL9K_STATUS_VERBOSE=false
  40. POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
  41. POWERLEVEL9K_VCS_UNTRACKED_ICON='\u25CF'
  42. POWERLEVEL9K_VCS_UNSTAGED_ICON='\u00b1'
  43. POWERLEVEL9K_VCS_INCOMING_CHANGES_ICON='\u2193'
  44. POWERLEVEL9K_VCS_OUTGOING_CHANGES_ICON='\u2191'
  45. POWERLEVEL9K_VCS_COMMIT_ICON="\uf417"
  46. POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{blue}\u256D\u2500%f"
  47. POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{blue}\u2570\uf460%f "
  48. POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context ssh root_indicator dir dir_writable vcs)
  49. POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(command_execution_time status anaconda time battery)
  50.  
  51. DISABLE_UPDATE_PROMPT=false
  52.  
  53.  
  54.  
  55.  
  56. POWERLEVEL9K_PROMPT_ON_NEWLINE=true
  57.  
  58. #POWERLEVEL9K_VCS_CLEAN_FOREGROUND='099'
  59. POWERLEVEL9K_MODE='nerdfont-complete'
  60.  
  61. #Icon config
  62. POWERLEVEL9K_HOME_ICON='\UF20E'
  63. POWERLEVEL9K_SUB_ICON='\UF07C'
  64. #POWERLEVEL9K_STATUS_OK_ICON='\UF2B0'
  65. POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\UE0BC '
  66. POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\UE0BA'
  67.  
  68. # Anaconda
  69. POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER='>'
  70. POWERLEVEL9K_ANACONDA_LEFT_DELIMITER='<'
  71. POWERLEVEL9K_ANACONDA_BACKGROUND='24'
  72. POWERLEVEL9K_ANACONDA_FOREGROUND='111'
  73. # POWERLEVEL9K_ANACONDA_ICON=''
  74.  
  75. # Bateria
  76. POWERLEVEL9K_BATTERY_CHARGING='yellow'
  77. POWERLEVEL9K_BATTERY_CHARGED='blue'
  78. POWERLEVEL9K_BATTERY_LOW_THRESHOLD='20'
  79. POWERLEVEL9K_BATTERY_LOW_COLOR='red'
  80. POWERLEVEL9K_BATTERY_CHARGED_BACKGROUND='green'
  81. POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND='235'
  82. POWERLEVEL9K_BATTERY_CHARGING_BACKGROUND='228'
  83. POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND='235'
  84. POWERLEVEL9K_BATTERY_LOW_BACKGROUND='88'
  85. POWERLEVEL9K_BATTERY_LOW_FOREGROUND='235'
  86. POWERLEVEL9K_BATTERY_CHARGED_ICON='/UF240'
  87. POWERLEVEL9K_BATTERY_LOW_ICON='/UF240'
  88. POWERLEVEL9K_BATTERY_CHARGING_ICON='/UF1E6'
  89. POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND='195'
  90. POWERLEVEL9K_BATTERY_DISCONNECTED_BACKGROUND='009'
  91. POWERLEVEL9K_BATTERY_ICON='\UF1E6'
  92. ########### ANTIGEN ##############
  93. source ~/antigen.zsh
  94.  
  95. #Load the oh-my-zsh's library.
  96. antigen use oh-my-zsh
  97.  
  98. #Install directory
  99. POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
  100. # Bundles from the default repo (robbyrussell's oh-my-zsh).
  101. antigen bundle git
  102. antigen bundle heroku
  103. antigen bundle pip
  104. antigen bundle lein
  105. antigen bundle command-not-found
  106. antigen bundle denysdovhan/gitio-zsh
  107. antigen bundle catimg
  108. antigen bundle colored-man-pages
  109.  
  110.  
  111. antigen bundle supercrabtree/k
  112. antigen bundle wfxr/forgit
  113. antigen bundle rimraf/k
  114. antigen bundle tarruda/zsh-autosuggestions
  115.  
  116. # Syntax highlighting bundle.
  117. antigen bundle zsh-users/zsh-syntax-highlighting
  118.  
  119. antigen bundle robbyrussell/oh-my-zsh
  120. #antigen theme ~/myZshThemes/ gnzh-azeez.zsh-theme
  121. antigen theme bhilburn/powerlevel9k powerlevel9k
  122. antigen apply
  123. ##################################
  124.  
  125.  
  126. alias ls="ls -la --color"
  127. alias l='colorls -lA --sd -tr'
  128.  
  129. DATE=`date '+%Y-%m-%d-%H_%M_%S'`
  130.  
  131. alias maim="maim -s /home/azeez/Pictures/screenshots/`echo $DATE`.png | xclip -selection clipboard -t image/png"
  132.  
  133. export EDITOR='vim'
  134.  
  135. COWPATH=/home/azeez/.cowsay/bkendzior/:/usr/share/cows
  136. #[ -f temp.txt ] && rm temp.txt && (fortune -s -n 300 | cowsay -W 20 -f rickNmortyHead) >> temp.txt && neofetch --backend ascii --source temp.txt
  137. #neofetch --backend ascii --source ~/rickMortyFloatingHead.txt --ascii_colors 5
  138. #unbuffer lolcat rickMortyFloatingHead.txt| tee temp.txt >> /dev/null && neofetch --backend ascii --source temp.txt --help
  139.  
  140. fortune -s -n 150 | cowsay | lolcat
  141. alias screenshot='maim -s --format jpg /dev/stdout | xclip -selection clipboard -t image/jpg -i'
  142. alias godot=/home/azeez/Godot/3.0.4/Godot_v3.0.4-stable_x11.64
  143. alias MG3=/home/azeez/gitRepos/MazeGame_G3.0_ported/
  144. alias style='python3 ~/arduino-ua/bin/stylecheck.py'
  145.  
  146. #
  147. # Adjust $PATH
  148.  
  149. # HJH - It is unclear who adds additional path information. So to avoid
  150. # the problem of whether this is a login shell or not, we simply check
  151. # to see if the path component is already there. And add if not.
  152. # The grep -qv returns success if the pattern is NOT in $PATH
  153.  
  154. if [ -d "$HOME/.local/bin" ] ; then
  155. if ( echo $PATH | grep -qv 'cmput274/\.local/bin' ) ; then
  156. export PATH="$HOME/.local/bin:$PATH"
  157. fi
  158. fi
  159. if [ -d "$HOME/arduino-ua/bin" ] ; then
  160. if ( echo $PATH | grep -qv 'arduino-ua/bin' ) ; then
  161. export PATH="$HOME/arduino-ua/bin:$PATH"
  162. fi
  163. fi
  164. if [ -d "$HOME/bin" ] ; then
  165. if ( echo $PATH | grep -qv 'cmput274/bin' ) ; then
  166. export PATH="$HOME/bin:$PATH"
  167. fi
  168. fi
  169.  
  170.  
  171. alias style='python3 ~/arduino-ua/bin/stylecheck.py'
  172.  
  173.  
  174. if [ -f ~/.bash_aliases ]; then
  175. . ~/.bash_aliases
  176. fi
  177.  
  178. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/i386-linux-gnu/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement