Skip to content

Instantly share code, notes, and snippets.

@daragao
Last active August 13, 2018 09:08
Show Gist options
  • Save daragao/5fd33b1339113f0288d97c3a1028c270 to your computer and use it in GitHub Desktop.
Save daragao/5fd33b1339113f0288d97c3a1028c270 to your computer and use it in GitHub Desktop.
my stuff
#
# ~/.bashrc
#
export LC_ALL='en_GB.UTF-8'
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
source /usr/share/nvm/init-nvm.sh
. /usr/share/git/completion/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
export GIT_PS1_SHOWCOLORHINTS=1
export GIT_PS1_SHOWUNTRACKEDFILES=1
export PROMPT_COMMAND='__git_ps1 "\u@\h:\w" "\\\$ "'
#export PS1='\w$(__git_ps1 " (%s)")\$ '
# python-virtualenv
#export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python2.7
#export VIRTUALENVWRAPPER_VIRTUALENV=/usr/bin/virtualenv2
export WORKON_HOME=~/.virtualenvs
#source /usr/bin/virtualenvwrapper.sh
source /usr/bin/virtualenvwrapper_lazy.sh
#powerline-daemon -q
#POWERLINE_BASH_CONTINUATION=1
#POWERLINE_BASH_SELECT=1
#. /usr/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh
export GOPATH=$(go env GOPATH)
export PATH=$PATH:$(go env GOPATH)/bin
#export PATH="$HOME/.yarn/bin:$HOME/.py-solc/default/bin/:$PATH"
export GPG_TTY=$(tty)
# added by pipsi (https://github.com/mitsuhiko/pipsi)
export PATH="/home/doart3/.local/bin:$PATH"
!-------------------------------------------------------------------------------
! Xft settings
!-------------------------------------------------------------------------------
!Xft.dpi: 96
Xft.dpi: 192
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight
!-------------------------------------------------------------------------------
! URxvt settings
! Colours lifted from Solarized (http://ethanschoonover.com/solarized)
! More info at:
! http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.1.pod
!-------------------------------------------------------------------------------
URxvt.depth: 32
URxvt.geometry: 90x30
URxvt.transparent: false
URxvt.fading: 0
! URxvt.urgentOnBell: true
! URxvt.visualBell: true
URxvt.loginShell: true
!URxvt.saveLines: 50
urxvt.saveLines: 1000000
URxvt.internalBorder: 3
URxvt.lineSpace: 0
! Fonts
URxvt.allow_bold: true
/* URxvt.font: -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 */
URxvt.font: xft:Droid Sans Mono for Powerline:pixelsize=18
URxvt*boldFont: xft:Droid Sans Mono for Powerline:pixelsize=18:style=bold
!URxvt*font: xft:Roboto Mono for Powerline:pixelsize=14
!URxvt*boldFont: xft:Roboto Mono for Powerline:pixelsize=14
! Fix font space
URxvt*letterSpace: -1
! Scrollbar
URxvt.scrollStyle: rxvt
URxvt.scrollBar: false
! Perl extensions
URxvt.perl-ext-common: default,matcher,font-size,clipboard-osc
URxvt.matcher.button: 1
URxvt.urlLauncher: firefox
URxvt.iso14755: false
! Clipboard
! Para cut and paste
! URxvt.perl-ext-common: ...,clipboard
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-Escape: perl:keyboard-select:activate
! nose para q del copy and paste
URxvt.copyCommand: xsel -ib
URxvt.pasteCommand: xsel -ob
! Cursor
URxvt.cursorBlink: true
URxvt.cursorColor: #657b83
URxvt.cursorUnderline: false
! Pointer
URxvt.pointerBlank: true
!! Keycode fixes for Ctrl+direction in Vim
!URxvt.keysym.C-Up: \033[1;5A
!URxvt.keysym.C-Down: \033[1;5B
!URxvt.keysym.C-Right: \033[1;5C
!URxvt.keysym.C-Left: \033[1;5D
URxvt.keysym.C-Prior: \033[5;5~
URxvt.keysym.C-Next: \033[6;5~
URxvt.keysym.C-Home: \033[7;5~
URxvt.keysym.C-End: \033[8;5~
URxvt.keysym.C-Up: font-size:increase
URxvt.keysym.C-Down: font-size:decrease
URxvt.keysym.C-S-Up: font-size:incglobal
URxvt.keysym.C-S-Down: font-size:decglobal
URxvt.keysym.C-equal: font-size:reset
URxvt.keysym.C-slash: font-size:show
! Base16 Default Dark
! Scheme: Chris Kempson (http://chriskempson.com)
!https://github.com/chriskempson/base16-xresources/blob/master/xresources/base16-default-dark-256.Xresources
#define base00 #181818
#define base01 #282828
#define base02 #383838
#define base03 #585858
#define base04 #b8b8b8
#define base05 #d8d8d8
#define base06 #e8e8e8
#define base07 #f8f8f8
#define base08 #ab4642
#define base09 #dc9656
#define base0A #f7ca88
#define base0B #a1b56c
#define base0C #86c1b9
#define base0D #7cafc2
#define base0E #ba8baf
#define base0F #a16946
*.foreground: base05
*.background: base00
*.cursorColor: base05
*.color0: base00
*.color1: base08
*.color2: base0B
*.color3: base0A
*.color4: base0D
*.color5: base0E
*.color6: base0C
*.color7: base05
*.color8: base03
*.color9: base08
*.color10: base0B
*.color11: base0A
*.color12: base0D
*.color13: base0E
*.color14: base0C
*.color15: base07
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary
*.color16: base09
*.color17: base0F
*.color18: base01
*.color19: base02
*.color20: base04
*.color21: base06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment