plugfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

.bash_profile (1362B)


      1 #!/bin/bash
      2 PLG=$HOME/plugfiles/
      3 CFG=$HOME/.config
      4 SHD=/media/sea/
      5 
      6 # start X if on TTY 1
      7 #if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]
      8 #  then
      9 #  exec startx
     10 #fi
     11 
     12 
     13 
     14 #for DOTFILE in `find $HOME/plugfiles`
     15 #do
     16 #  [ -f “$DOTFILE” ] && source “$DOTFILE”
     17 #done
     18 
     19 # Multinest Path
     20 #export LD_LIBRARY_PATH=$HOME/MultiNest/lib/:$LD_LIBRARY_PATH
     21 export LD_LIBRARY_PATH=~/repos/MultiNest/lib/:$LD_LIBRARY_PATH
     22 export PATH=~/.local/bin:$PATH
     23 
     24 # CUDA
     25 export PATH=/opt/cuda/bin:$PATH
     26 
     27 # Ruby excecutables
     28 export PATH="$PATH:/home/nick/.gem/ruby/2.6.0/bin"
     29 export LC_ALL="en_US.UTF-8"
     30 export LANG="en_US.UTF-8"
     31 
     32 # Rust Path
     33 PATH=~/.cargo/bin:$PATH
     34 
     35 # Website Dir
     36 SITE=~/repos/nicholasfarrow.github.io
     37 
     38 # Autocomplete without case matching
     39 set completion-ignore-case on
     40 
     41 # cd by typing directory name
     42 shopt -s autocd
     43 
     44 # Load aliases
     45 # (if exists then load)
     46 [ -f "$HOME/.config/.aliasrc" ] && . "$HOME/.config/.aliasrc" || echo "aliasrc failed to load"
     47 
     48 # Inifinite History
     49 HISTSIZE=
     50 HISTFILESIZE=
     51 
     52 # Debugging
     53 #echo "Loaded .bash_profile"
     54 
     55 # Bitcoin
     56 alias btcdir="cd ~/.bitcoin/"
     57 alias bc="bitcoin-cli"
     58 alias btcinfo='bitcoin-cli getwalletinfo | egrep "\"balance\""; bitcoin-cli getnetworkinfo | egrep "\"version\"|connections"; bitcoin-cli getmininginfo | egrep "\"blocks\"|errors"'
     59 
     60 
     61 
     62 # STARSHELL WELCOME MSG
     63 source $CFG/starshell.sh
     64 
     65 export PATH="$HOME/.cargo/bin:$PATH"