Bläddra i källkod

Initial deployment

Douglas Andreani 5 år sedan
incheckning
b45dea3b6c
5 ändrade filer med 92 tillägg och 0 borttagningar
  1. 43 0
      X/Xresources
  2. 7 0
      bash/aliases
  3. 19 0
      bash/bashrc
  4. 16 0
      bash/environment
  5. 7 0
      bash/paths

+ 43 - 0
X/Xresources

@@ -0,0 +1,43 @@
+Xft.dpi:			120
+Xft.antialias:			true
+URxvt.perl-ext-common:		clipboard
+URxvt*termName:                 rxvt-256color
+URxvt.depth:                    32
+URxvt*lineSpace:                0
+URxvt.letterSpace:              0
+URxvt.iso14755:                 false
+URxvt.iso14755_52:              false
+URxvt*geometry:                 160x24
+URxvt.scrollBar:                false
+URxvt*loginShell:               true
+URxvt.perl-ext-common:          default,clipboard
+URxvt.keysym.Shift-Control-C:   perl:clipboard:copy
+URxvt.keysym.Shift-Control-V:   perl:clipboard:paste
+URxvt.clipboard.autocopy:       true
+URxvt.font: xft:Source Code Pro:pixelsize=12:Regular
+URxvt.boldFont: xft:Source Code Pro:pixelsize=12:Bold
+URxvt.italicFont: xft:Source Code Pro:pixelsize=12:Italic
+URxvt.boldItalicFont: xft:Source Code Pro:pixelsize=12:Bold:Italic
+URxvt.visualBell:		true
+
+! Colors
+*background:   [97]#282a36
+*foreground:   #eff0eb
+*cursorColor:  #9aedfe
+
+*color0:      #33303b
+*color8:      #4f4b58
+*color1:      #ff5c57
+*color9:      #ff5c57
+*color2:      #5af78e
+*color10:     #5af78e
+*color3:      #f3f99d
+*color11:     #f3f99d
+*color4:      #57c7ff
+*color12:     #57c7ff
+*color5:      #ff6ac1
+*color13:     #ff6ac1
+*color6:      #9aedfe
+*color14:     #9aedfe
+*color7:      #eff0eb
+*color15:     #eff0eb

+ 7 - 0
bash/aliases

@@ -0,0 +1,7 @@
+# Aliases for bash
+
+alias vim=nvim
+alias ls="ls --color"
+alias grep="grep --color"
+alias egrep="grep -e"
+

+ 19 - 0
bash/bashrc

@@ -0,0 +1,19 @@
+# Default bashrc file
+DOTFILES=/home/cmte/.dotfiles/bash
+
+# Set bash-completion
+if ! shopt -oq posix; then
+  if [ -f /usr/share/bash-completion/bash_completion ]; then
+    . /usr/share/bash-completion/bash_completion
+  elif [ -f /etc/bash_completion ]; then
+    . /etc/bash_completion
+  fi
+fi
+
+# Set PS1 variable
+export PS1="[\u@\h \W]\\$ \[$(tput sgr0)\]"
+
+# Read configurations
+[ -f $DOTFILES/aliases ] && . $DOTFILES/aliases
+[ -f $DOTFILES/paths ] && . $DOTFILES/paths
+[ -f $DOTFILES/environment ] && . $DOTFILES/environment

+ 16 - 0
bash/environment

@@ -0,0 +1,16 @@
+# Set locales
+LC_CTYPE="en_US.UTF-8"; export LC_CTYPE
+LC_NUMERIC="en_US.UTF-8"; export LC_NUMERIC
+LC_TIME="en_US.UTF-8"; export LC_TIME
+LC_COLLATE="en_US.UTF-8"; export LC_COLLATE
+LC_MONETARY="en_US.UTF-8"; export LC_MONETARY
+LC_MESSAGES="en_US.UTF-8"; export LC_MESSAGES
+LC_PAPER="en_US.UTF-8"; export LC_PAPER
+LC_NAME="en_US.UTF-8"; export LC_NAME
+LC_ADDRESS="en_US.UTF-8"; export LC_ADDRESS
+LC_TELEPHONE="en_US.UTF-8"; export LC_TELEPHONE
+LC_MEASUREMENT="en_US.UTF-8"; export LC_MEASUREMENT
+LC_IDENTIFICATION="en_US.UTF-8"; export LC_IDENTIFICATION
+LC_ALL=; export LC_ALL
+
+# Terminal settings

+ 7 - 0
bash/paths

@@ -0,0 +1,7 @@
+# Bash paths and env variables
+HOME=/home/cmte; export HOME
+GOPATH=/home/cmte/go; export GOPATH
+
+# Set $PATH
+[ -f /etc/profile ] && . /etc/profile
+PATH=$PATH:$HOME/.bin:$HOME/cmte/.local/bin:$GOPATH/bin; export PATH